Skip to content

Commit

Permalink
ci: remove DCT delegation key last
Browse files Browse the repository at this point in the history
  • Loading branch information
buchdag committed May 17, 2024
1 parent e93617b commit 5f77e53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-publish-signed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
echo "$DCT_KEY_BASE64" | base64 -d > delegation.key
chmod 600 delegation.key
docker trust key load delegation.key --name gha
rm delegation.key
- name: Login to DockerHub
uses: docker/login-action@v3
Expand All @@ -49,3 +48,6 @@ jobs:
- name: Verify the image signature
run: |
docker trust inspect --pretty ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
- name: Remove DCT delegation key
run: rm delegation.key

0 comments on commit 5f77e53

Please sign in to comment.