Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect version correctly so that we also push "latest" tag #113

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

jimmykarily
Copy link
Contributor

@jimmykarily jimmykarily commented Nov 15, 2024

Something was pushed as latest but not the tagged image. Not sure what:

image

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
@@ -32,7 +32,7 @@ jobs:
# If the VERSION looks like a version number, assume that
# this is the most recent version of the image and also
# tag it 'latest'.
if [[ $VERSION =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
if [[ $VERSION =~ ^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because v is part of what git describe returns:

~/workspace/kairos/AuroraBoot (also-push-latest)*$ git describe --always --tags --dirty
v0.3.2-1-g2fea056

@Itxaka
Copy link
Member

Itxaka commented Nov 15, 2024

I think master is whats pushed to latest by default

@jimmykarily jimmykarily merged commit cd35f2c into main Nov 15, 2024
8 checks passed
@jimmykarily jimmykarily deleted the also-push-latest branch November 15, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants