File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -81,19 +81,19 @@ jobs:
8181 org.opencontainers.image.source=${{ github.event.repository.html_url }}
8282 org.opencontainers.image.revision=${{ github.sha }}
8383 org.opencontainers.image.version=${{ github.ref_name }}
84- - name : sign container image
85- run : |
86- cosign sign --yes --key env://COSIGN_KEY ghcr.io/nhs-digital/${{ env.IMAGE_NAME }}:${{ github.ref_name }}@${{ steps.build_push.outputs.digest }}
87- shell : bash
88- env :
89- COSIGN_KEY : ${{secrets.COSIGN_KEY}}
90- COSIGN_PASSWORD : ${{secrets.COSIGN_PASSWORD}}
91-
92- - name : Check images
93- run : |
94- docker buildx imagetools inspect ghcr.io/nhsdigital/${IMAGE_NAME}:${{ github.ref_name }}
95- docker pull ghcr.io/nhsdigital/${IMAGE_NAME}:${{ github.ref_name }}
96- cosign verify --key cosign.pub ghcr.io/nhsdigital/${IMAGE_NAME}:${{ github.ref_name }}
84+ # - name: sign container image
85+ # run: |
86+ # cosign sign --yes --key env://COSIGN_KEY ghcr.io/nhs-digital/${{ env.IMAGE_NAME }}:${{ github.ref_name }}@${{ steps.build_push.outputs.digest }}
87+ # shell: bash
88+ # env:
89+ # COSIGN_KEY: ${{secrets.COSIGN_KEY}}
90+ # COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}
91+ #
92+ # - name: Check images
93+ # run: |
94+ # docker buildx imagetools inspect ghcr.io/nhsdigital/${IMAGE_NAME}:${{ github.ref_name }}
95+ # docker pull ghcr.io/nhsdigital/${IMAGE_NAME}:${{ github.ref_name }}
96+ # cosign verify --key cosign.pub ghcr.io/nhsdigital/${IMAGE_NAME}:${{ github.ref_name }}
9797 - uses : anchore/sbom-action@v0
9898 with :
9999 image : ghcr.io/nhsdigital/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments