mirror of
https://github.com/compute-blade-community/compute-blade-agent.git
synced 2026-04-21 17:45:43 +02:00
fix: login to ghcr, cosign
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
This commit is contained in:
6
.github/workflows/goreleaser.yaml
vendored
6
.github/workflows/goreleaser.yaml
vendored
@@ -42,6 +42,12 @@ jobs:
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: 'Login to GitHub Container Registry'
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{github.actor}}
|
||||
password: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
# Install cosign
|
||||
- name: Install Cosign
|
||||
|
||||
@@ -28,9 +28,9 @@ dockers:
|
||||
- agent
|
||||
- bladectl
|
||||
image_templates:
|
||||
- ghcr.io/uptime-lab/computeblade-agent/agent:latest
|
||||
- ghcr.io/uptime-lab/computeblade-agent/agent:{{ .Tag }}
|
||||
- ghcr.io/uptime-lab/computeblade-agent/agent:v{{ .Major }}
|
||||
- ghcr.io/uptime-lab/computeblade-agent:latest
|
||||
- ghcr.io/uptime-lab/computeblade-agent:{{ .Tag }}
|
||||
- ghcr.io/uptime-lab/computeblade-agent:v{{ .Major }}
|
||||
build_flag_templates:
|
||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
||||
@@ -41,6 +41,12 @@ dockers:
|
||||
docker_signs:
|
||||
- id: oci-bundle-sign
|
||||
artifacts: all
|
||||
args:
|
||||
- "sign"
|
||||
- --oidc-issuer=https://token.actions.githubusercontent.com
|
||||
- --upload=false
|
||||
- "${artifact}"
|
||||
- --yes
|
||||
ids:
|
||||
- oci-bundle
|
||||
|
||||
|
||||
Reference in New Issue
Block a user