Updated Windows workflow
This commit is contained in:
parent
c42825fb31
commit
39f8834d4a
3
.github/actions/cosign-install/action.yml
vendored
3
.github/actions/cosign-install/action.yml
vendored
|
|
@ -4,7 +4,7 @@ description: Install cosign and print its version
|
|||
inputs:
|
||||
cosign_release:
|
||||
required: false
|
||||
default: v2.4.0
|
||||
default: v3.0.5
|
||||
description: Cosign release version to install
|
||||
|
||||
runs:
|
||||
|
|
@ -16,5 +16,4 @@ runs:
|
|||
cosign-release: ${{ inputs.cosign_release }}
|
||||
|
||||
- name: Check cosign version
|
||||
shell: bash
|
||||
run: cosign version
|
||||
|
|
|
|||
2
.github/actions/cosign-verify/action.yml
vendored
2
.github/actions/cosign-verify/action.yml
vendored
|
|
@ -39,7 +39,7 @@ runs:
|
|||
echo "::endgroup::"
|
||||
|
||||
- name: Verify image signature on Windows
|
||||
if: runner.os != 'Windows'
|
||||
if: runner.os == 'Windows'
|
||||
shell: pwsh
|
||||
env:
|
||||
IMAGE: ${{ inputs.image }}
|
||||
|
|
|
|||
6
.github/workflows/images_build_windows.yml
vendored
6
.github/workflows/images_build_windows.yml
vendored
|
|
@ -207,8 +207,6 @@ jobs:
|
|||
- name: Install cosign
|
||||
if: ${{ env.AUTO_PUSH_IMAGES == 'true' }}
|
||||
uses: ./.github/actions/cosign-install
|
||||
with:
|
||||
cosign_release: v2.4.0
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
|
||||
|
|
@ -324,8 +322,6 @@ jobs:
|
|||
|
||||
- name: Install cosign
|
||||
uses: ./.github/actions/cosign-install
|
||||
with:
|
||||
cosign_release: v2.4.0
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
|
||||
|
|
@ -484,8 +480,6 @@ jobs:
|
|||
- name: Install cosign
|
||||
if: ${{ env.AUTO_PUSH_IMAGES == 'true' }}
|
||||
uses: ./.github/actions/cosign-install
|
||||
with:
|
||||
cosign_release: v2.4.0
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue