Skip to content

Commit f0b5d8e

Browse files
authored
Update main.yml
try to fix the release update . using cosing installation ??
1 parent 6d8e179 commit f0b5d8e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ jobs:
3131
haskell: true
3232
large-packages: false
3333
swap-storage: true
34+
35+
# Install the cosign tool except on PR
36+
# https://github.com/sigstore/cosign-installer
37+
- name: Install cosign
38+
if: github.event_name != 'pull_request'
39+
uses: sigstore/cosign-installer@main
40+
with:
41+
cosign-release: 'v1.4.0'
42+
3443
- name: Build image
3544
run: docker build -f ./Dockerfile-debian11 -t aymara/qhttpserver-debian11:build .
3645
- name: Extract package and version number from docker iamge
@@ -81,6 +90,13 @@ jobs:
8190
haskell: true
8291
large-packages: false
8392
swap-storage: true
93+
# Install the cosign tool except on PR
94+
# https://github.com/sigstore/cosign-installer
95+
- name: Install cosign
96+
if: github.event_name != 'pull_request'
97+
uses: sigstore/cosign-installer@main
98+
with:
99+
cosign-release: 'v1.4.0'
84100
- name: Build image
85101
run: docker build -f ./Dockerfile-ubuntu22.04 -t aymara/qhttpserver-ubuntu22.04:build .
86102
- name: Extract package and version number from docker iamge

0 commit comments

Comments
 (0)