Skip to content

Commit

Permalink
Format digest for tag
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelgira23 committed Sep 18, 2023
1 parent f61dec4 commit b47397a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@ jobs:
# Output Docker image URL
- name: Output Docker image URL
run: |
echo "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.build-and-push.outputs.digest }}"
DIGEST="${${{ steps.build-and-push.outputs.digest }}//:/-}"
echo "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:$DIGEST"
echo "${{ steps.build-and-push.outputs.imageid }}"
echo "${{ steps.build-and-push.outputs.metadata }}"
echo "${{ steps.build-and-push.outputs.metadata.image }}"
deploy:
needs: build
Expand Down

0 comments on commit b47397a

Please sign in to comment.