Skip to content

Conversation

crazy-max
Copy link
Contributor

Discussed with @milosgajdos. Yesterday while releasing v2.8.0 tag, version was still v2.8.0-beta.1 because of the current working tree info. This PR solves that behavior in our CI by using the actual ref that triggers the workflow using the GITHUB_REF env var.

Can be tested with:

GITHUB_REF=refs/tags/v5.0.0 docker buildx bake

cc @thaJeztah

Signed-off-by: CrazyMax crazy-max@users.noreply.github.com

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

SGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants