Skip to content

Commit

Permalink
fix: add dash to image tags
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <troian.ap@gmail.com>
  • Loading branch information
troian committed Feb 15, 2023
1 parent a9a8ffb commit 570a48b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/image-tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,24 @@ function generate_tags {

if [[ $("${SCRIPT_DIR}"/is_prerelease.sh "$tag") == true ]]; then
echo "$hub:$tag-$GORELEASER_VERSION"
echo "$hub:$tag.$GORELEASER_VERSION"
echo "$hub:$tag"
echo "$ghcr:$tag-$GORELEASER_VERSION"
echo "$ghcr:$tag.$GORELEASER_VERSION"
echo "$ghcr:$tag"
else
echo "$hub:latest"
echo "$hub:$tag.$GORELEASER_VERSION"
echo "$hub:$tag-$GORELEASER_VERSION"
echo "$hub:$tag_minor.$GORELEASER_VERSION"
echo "$hub:$tag_minor-$GORELEASER_VERSION"
echo "$hub:$tag_minor"
echo "$hub:$tag"
echo "$ghcr:latest"
echo "$ghcr:$tag.$GORELEASER_VERSION"
echo "$ghcr:$tag-$GORELEASER_VERSION"
echo "$ghcr:$tag_minor.$GORELEASER_VERSION"
echo "$ghcr:$tag_minor-$GORELEASER_VERSION"
echo "$ghcr:$tag_minor"
echo "$ghcr:$tag"
fi
Expand Down

0 comments on commit 570a48b

Please sign in to comment.