Skip to content

Commit

Permalink
Merge pull request #4048 from fluxcd/backport-4043-to-release/v2.0.x
Browse files Browse the repository at this point in the history
[release/v2.0.x] ci: release: extract the image tag from GITHUB_REF
  • Loading branch information
stefanprodan authored Jul 6, 2023
2 parents a092996 + b385c24 commit 7842c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
hashes=$(echo -E $ARTIFACTS | jq --raw-output '.[] | {name, "digest": (.extra.Digest // .extra.Checksum)} | select(.digest) | {digest} + {name} | join(" ") | sub("^sha256:";"")' | base64 -w0)
echo "hashes=$hashes" >> $GITHUB_OUTPUT
image_url=fluxcd/flux-cli:${{ steps.prep.outputs.version }}
image_url=fluxcd/flux-cli:$GITHUB_REF_NAME
echo "image_url=$image_url" >> $GITHUB_OUTPUT
image_digest=$(docker buildx imagetools inspect ${image_url} --format '{{json .}}' | jq -r .manifest.digest)
Expand Down

0 comments on commit 7842c7f

Please sign in to comment.