ci: sign cosmic feature branch builds
build.yml (push) Invalid workflow file

This commit is contained in:
Gunnar committed 2026-11-09 19:41:57 +01:00
1 parent 0ffbbdbe9e
commit 3e37a88726
2 files changed
+14 -8

No files matched your search

+5 -5
View File
@@ -102,23 +102,23 @@ jobs:
compression: zstd
provenance: false
sbom: false
cache-from: type=registry,ref=${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64-main
cache-to: type=registry,ref=${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64-main,mode=max
cache-from: type=registry,ref=${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64-${{ replace(github.ref_name, '/', '-') }}
cache-to: type=registry,ref=${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64-${{ replace(github.ref_name, '/', '-') }},mode=max
outputs: type=registry,oci-mediatypes=true,compression=zstd,compression-args=binary-path=/usr/bin/go-zstd-chunked
- name: Install gettext dependencies
if: github.event_name != 'pull_request' && github.ref_name == 'main'
if: github.event_name != 'pull_request' && (github.ref_name == 'main' || github.ref_name == 'feature/cosmic-desktop')
run: |
set -euo pipefail
sudo apt-get update
sudo apt-get install -y gettext
- name: Install Cosign
if: github.event_name != 'pull_request' && github.ref_name == 'main'
if: github.event_name != 'pull_request' && (github.ref_name == 'main' || github.ref_name == 'feature/cosmic-desktop')
uses: sigstore/cosign-installer@v4.1.3
- name: Sign container image
if: github.event_name != 'pull_request' && github.ref_name == 'main'
if: github.event_name != 'pull_request' && (github.ref_name == 'main' || github.ref_name == 'feature/cosmic-desktop')
env:
COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }}
COSIGN_PASSWORD: ""