Skip to content

Commit

Permalink
优化 tag 处理
Browse files Browse the repository at this point in the history
  • Loading branch information
itboon committed May 8, 2023
1 parent 6442b47 commit 45c165a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
echo "is_release=true" >> $GITHUB_OUTPUT
echo "kafka_version=${kafka_version}" >> $GITHUB_OUTPUT
echo "kafka_version_short=$(echo $kafka_version | sed -E 's/.[0-9]+$//')" >> $GITHUB_OUTPUT
echo "sha_tag=v${kafka_version}-${sha_short}" >> $GITHUB_OUTPUT
sha_tag="v${kafka_version}-${sha_short}"
echo "sha_tag=$sha_tag" >> $GITHUB_OUTPUT
if [[ "$kafka_version" == "$KAFKA_VERSION" ]]; then
echo "latest_or_sha=latest" >> $GITHUB_OUTPUT
else
Expand Down

0 comments on commit 45c165a

Please sign in to comment.