Skip to content

Commit

Permalink
Update dbt-docker-publish-pmt.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vishreddy01 authored Mar 25, 2024
1 parent 50eddc2 commit 71086ae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dbt-docker-publish-pmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Sign the published Docker image
if: ${{ github.event_name != 'pull_request' }}
env:
#- name: Sign the published Docker image
#if: ${{ github.event_name != 'pull_request' }}
#env:
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
TAGS: ${{ steps.meta.outputs.tags }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
#TAGS: ${{ steps.meta.outputs.tags }}
#DIGEST: ${{ steps.build-and-push.outputs.digest }}

run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
#run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

0 comments on commit 71086ae

Please sign in to comment.