Skip to content

Commit

Permalink
Merge branch 'provenance-docker' into test-provenance-docker
Browse files Browse the repository at this point in the history
* provenance-docker:
  fix multi-line images
  • Loading branch information
v1v committed Apr 22, 2024
2 parents 673139c + d5b7169 commit 7352352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ jobs:
image_1=$(echo $image | head -n1)
image_2=$(echo $image | tail -n1)
# Fetch the digest for the container image (amd64 and arm64)
digest_1=$(docker images --format "{{.Digest}}" --no-trunc $image | sed -n 1p)
digest_2=$(docker images --format "{{.Digest}}" --no-trunc $image | sed -n 2p)
digest_1=$(docker images --format "{{.Digest}}" --no-trunc $image_1 | sed -n 1p)
digest_2=$(docker images --format "{{.Digest}}" --no-trunc $image_2 | sed -n 2p)
echo "name_1=$image" >> "$GITHUB_OUTPUT"
echo "name_2=$image" >> "$GITHUB_OUTPUT"
echo "digest_1=$digest_1" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 7352352

Please sign in to comment.