Skip to content

Commit

Permalink
change debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
taukakao committed Nov 29, 2024
1 parent febd791 commit e080515
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,13 @@ jobs:
echo "uploaded_image=$IMAGE_URL_UPLOAD" >> "$GITHUB_OUTPUT"
docker image tag image-to-upload:latest "$IMAGE_URL_UPLOAD"
docker push "$IMAGE_URL_UPLOAD"
docker image inspect $IMAGE_URL_UPLOAD | jq '.'
docker image inspect $IMAGE_URL_UPLOAD | jq '.[0]'
docker image inspect $IMAGE_URL_UPLOAD | jq '.[0].Id'
IMAGE_DIGEST="$(docker image inspect $IMAGE_URL_UPLOAD | jq '.[0].Id')"
echo "IMAGE_DIGEST=$IMAGE_DIGEST" >> "$GITHUB_ENV"
- name: what
run: |
echo ${{ env.IMAGE_DIGEST }}
- name: Attest pushed image
uses: actions/attest-build-provenance@v1
id: attest
Expand Down

0 comments on commit e080515

Please sign in to comment.