Skip to content

Commit

Permalink
feat: cosign everything in the release (#692)
Browse files Browse the repository at this point in the history
Signed-off-by: Engin Diri <[email protected]>

Signed-off-by: Engin Diri <[email protected]>
  • Loading branch information
dirien authored Jan 2, 2023
1 parent ba4ef32 commit fa10b25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
needs: build
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
UPX_VERSION: "3.96"
runs-on: ubuntu-latest
if: success() && startsWith(github.ref, 'refs/tags/')
steps:
Expand Down Expand Up @@ -68,13 +67,6 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: download upx
run: |
cd /tmp
wget https://github.com/upx/upx/releases/download/v$UPX_VERSION/upx-$UPX_VERSION-amd64_linux.tar.xz
tar xvf upx-$UPX_VERSION-amd64_linux.tar.xz
sudo mv upx-$UPX_VERSION-amd64_linux/upx /usr/local/sbin
shell: bash
- uses: sigstore/cosign-installer@9becc617647dfa20ae7b1151972e9b3a2c338a2b # v2.8.1
- uses: anchore/sbom-action/download-syft@06e109483e6aa305a2b2395eabae554e51530e1d # tag=v0.13.1
- name: Run GoReleaser
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ signs:
args:
- sign-blob
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '--bundle=${signature}'
- '${artifact}'
artifacts: checksum
artifacts: all
output: true

dockers:
Expand Down

0 comments on commit fa10b25

Please sign in to comment.