Skip to content

Commit

Permalink
--format '{{.Digest}}'
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit committed Jun 7, 2024
1 parent 5257797 commit d1a35f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/open-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
- name: get container image digest
run: |
docker pull ${{ env.IMAGE_NAME }}:${{ env.ENVIRONMENT_ID }}
echo "IMAGE_DIGEST=$(docker inspect ${{ env.IMAGE_NAME }}:${{ env.ENVIRONMENT_ID }} | jq -r .[].Digest)" >> ${{ github.env }}
echo "IMAGE_DIGEST=$(docker inspect --format '{{.Digest}}' ${{ env.IMAGE_NAME }}:${{ env.ENVIRONMENT_ID }})" >> ${{ github.env }}
- name: humctl score deploy
run: |
humctl score deploy \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: get container image digest
run: |
docker pull ${{ env.IMAGE_NAME }}:${{ env.ENVIRONMENT_ID }}
echo "IMAGE_DIGEST=$(docker inspect ${{ env.IMAGE_NAME }}:${{ env.ENVIRONMENT_ID }} | jq -r .[].Digest)" >> ${{ github.env }}
echo "IMAGE_DIGEST=$(docker inspect --format '{{.Digest}}' ${{ env.IMAGE_NAME }}:${{ env.ENVIRONMENT_ID }})" >> ${{ github.env }}
- name: notify humanitec
run: |-
humctl create artefact-version \
Expand Down

0 comments on commit d1a35f9

Please sign in to comment.