Skip to content

fix(deps): update module github.com/cosi-project/runtime to v0.10.0 #59

fix(deps): update module github.com/cosi-project/runtime to v0.10.0

fix(deps): update module github.com/cosi-project/runtime to v0.10.0 #59

Workflow file for this run

name: CI
on:
push:
branches:
- "*"
pull_request:
release:
types:
- published
jobs:
ci:
runs-on: ubuntu-latest
permissions:
attestations: write
contents: read
id-token: write
packages: write
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}},enable=${{ !contains(github.ref, '-') }}
type=raw,value=latest,enable=${{ !contains(github.ref, '-') && github.event_name == 'release' }}
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: index
- id: build-push
uses: docker/build-push-action@v6
with:
annotations: ${{ steps.meta.outputs.annotations }}
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name == 'release' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- if: ${{ github.event_name == 'release' }}
uses: actions/attest-build-provenance@v2
with:
subject-name: ghcr.io/${{ github.repository }}
subject-digest: ${{ steps.build-push.outputs.digest }}
push-to-registry: true