Skip to content

Commit 1586a39

Browse files
committed
Update Cosign to 2.4.3 in prod action, fix Gosec
1 parent 603b27e commit 1586a39

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/docker-image-release.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,26 @@ jobs:
99
build:
1010

1111
runs-on: ubuntu-latest
12+
env:
13+
GO111MODULE: on
1214

1315
steps:
1416
- name: Checkout
1517
uses: actions/checkout@v4
1618

1719
- name: Run Gosec Security Scanner
1820
uses: securego/gosec@master
21+
with:
22+
args: ./...
1923

2024
- name: Extract tag name
2125
id: get_tag
2226
run: echo "::set-output name=VERSION::${GITHUB_REF#refs/tags/}"
2327

2428
- name: Install Cosign
25-
uses: sigstore/cosign-installer@v3.1.2
29+
uses: sigstore/cosign-installer@v3.8.1
2630
with:
27-
cosign-release: 'v2.2.0'
31+
cosign-release: 'v2.4.3'
2832

2933
- name: Set up Docker Buildx
3034
uses: docker/setup-buildx-action@v3

0 commit comments

Comments
 (0)