Skip to content

Commit 1471db7

Browse files
fix(ci): latest tag docker does not move to newest version
When you created a new version of Slyde then the `latest` tag did not move to that new version. The major and minor tags do move. So for example if you pushed `v1.2.3` then `1`, `1.2`, and `1.2.3` do get created/moved, but the `latest` tag does not, it does now. fixes #13: latest tag docker does not move to newest version
1 parent 8a16c54 commit 1471db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/many--build-and-push-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
echo "tags=$VERSION" >> $GITHUB_OUTPUT
5050
elif [[ "$VERSION" == *.*.* ]]; then
5151
IFS='.' read -r MAJOR MINOR PATCH <<< "$VERSION"
52-
tags="$MAJOR.$MINOR.$PATCH,$MAJOR.$MINOR,$MAJOR"
52+
tags="latest,$MAJOR.$MINOR.$PATCH,$MAJOR.$MINOR,$MAJOR"
5353
echo "tags=$tags" >> $GITHUB_OUTPUT
5454
else
5555
echo "Tag: '$VERSION' is not a semver."

0 commit comments

Comments
 (0)