Skip to content
New issue

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

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

Already on GitHub? # to your account

bug(ci): fix docker release tag #164

Open
fynnfluegge opened this issue Nov 19, 2024 · 0 comments
Open

bug(ci): fix docker release tag #164

fynnfluegge opened this issue Nov 19, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@fynnfluegge
Copy link
Owner

fynnfluegge commented Nov 19, 2024

In the current docker build and publish workflow the release tag from $GITHUB_REF_NAME is not correct:

 - name: Extract release tag
   id: get_tag
   run: echo "RELEASE_TAG=$GITHUB_REF_NAME" >> $GITHUB_ENV

The result is that the RELEASE_TAG has the value main as shown in the logs here:

Screenshot 2024-11-19 at 22 41 37

The reason might be that the Docker Build and Push pipeline is triggered by Release Build and not by the tag creation while Release Build itself is triggered by a tag creation.

How to test

It is hard to test without pushing a tag. A scenario would be a dedicated test repository with a similar minimal pipeline setup and test how to retrieve the release tag.

@fynnfluegge fynnfluegge added bug Something isn't working good first issue Good for newcomers labels Nov 19, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant