Skip to content

Commit fa10b25

Browse files
authored
feat: cosign everything in the release (#692)
Signed-off-by: Engin Diri <engin.diri@ediri.de> Signed-off-by: Engin Diri <engin.diri@ediri.de>
1 parent ba4ef32 commit fa10b25

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
needs: build
4141
env:
4242
DOCKER_CLI_EXPERIMENTAL: "enabled"
43-
UPX_VERSION: "3.96"
4443
runs-on: ubuntu-latest
4544
if: success() && startsWith(github.ref, 'refs/tags/')
4645
steps:
@@ -68,13 +67,6 @@ jobs:
6867
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
6968
restore-keys: |
7069
${{ runner.os }}-go-
71-
- name: download upx
72-
run: |
73-
cd /tmp
74-
wget https://github.com/upx/upx/releases/download/v$UPX_VERSION/upx-$UPX_VERSION-amd64_linux.tar.xz
75-
tar xvf upx-$UPX_VERSION-amd64_linux.tar.xz
76-
sudo mv upx-$UPX_VERSION-amd64_linux/upx /usr/local/sbin
77-
shell: bash
7870
- uses: sigstore/cosign-installer@9becc617647dfa20ae7b1151972e9b3a2c338a2b # v2.8.1
7971
- uses: anchore/sbom-action/download-syft@06e109483e6aa305a2b2395eabae554e51530e1d # tag=v0.13.1
8072
- name: Run GoReleaser

.goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ signs:
4141
args:
4242
- sign-blob
4343
- '--output-certificate=${certificate}'
44-
- '--output-signature=${signature}'
44+
- '--bundle=${signature}'
4545
- '${artifact}'
46-
artifacts: checksum
46+
artifacts: all
4747
output: true
4848

4949
dockers:

0 commit comments

Comments
 (0)