Fixed Windows images build process

This commit is contained in:
Alexey Pustovalov 2024-06-01 23:31:17 +09:00
parent 11913a5a6f
commit 96f1121128

View File

@ -149,7 +149,6 @@ jobs:
permissions: permissions:
contents: read contents: read
id-token: write id-token: write
attestations: write
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -309,15 +308,6 @@ jobs:
cosign sign --yes $tag_list cosign sign --yes $tag_list
echo "::endgroup::" echo "::endgroup::"
- name: Attest images
if: ${{ env.AUTO_PUSH_IMAGES == 'true' }}
id: attest
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_REPOSITORY }}/${{ env.IMAGES_PREFIX }}${{ env.BASE_IMAGE_NAME }}
subject-digest: ${{ steps.docker_build.outputs.digest }}
push-to-registry: true
- name: Image digest - name: Image digest
if: ${{ env.AUTO_PUSH_IMAGES }} if: ${{ env.AUTO_PUSH_IMAGES }}
env: env:
@ -348,7 +338,6 @@ jobs:
permissions: permissions:
contents: read contents: read
id-token: write id-token: write
attestations: write
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -546,15 +535,6 @@ jobs:
cosign sign --yes $tag_list cosign sign --yes $tag_list
echo "::endgroup::" echo "::endgroup::"
- name: Attest images
if: ${{ env.AUTO_PUSH_IMAGES == 'true' }}
id: attest
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_REPOSITORY }}/${{ env.IMAGES_PREFIX }}${{ env.BASE_BUILD_IMAGE_NAME }}
subject-digest: ${{ steps.docker_build.outputs.digest }}
push-to-registry: true
- name: Image digest - name: Image digest
if: ${{ env.AUTO_PUSH_IMAGES }} if: ${{ env.AUTO_PUSH_IMAGES }}
env: env:
@ -585,7 +565,6 @@ jobs:
permissions: permissions:
contents: read contents: read
id-token: write id-token: write
attestations: write
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -796,15 +775,6 @@ jobs:
cosign sign --yes $tag_list cosign sign --yes $tag_list
echo "::endgroup::" echo "::endgroup::"
- name: Attest images
if: ${{ env.AUTO_PUSH_IMAGES == 'true' }}
id: attest
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_REPOSITORY }}/${{ env.IMAGES_PREFIX }}${{ matrix.component }}
subject-digest: ${{ steps.docker_build.outputs.digest }}
push-to-registry: true
- name: Image digest - name: Image digest
if: ${{ env.AUTO_PUSH_IMAGES }} if: ${{ env.AUTO_PUSH_IMAGES }}
env: env: