Skip to content

Commit 45d276d

Browse files
Remove co-sign checks (#3)
1 parent e7e2ab9 commit 45d276d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)