-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Docker footer show the commit instead of tag version in 1.5.0 #4782
Comments
Are you using tag |
I use this docker-compose.yml:
and launch:
|
Hmm, strange. Must be something to do with that standard tag drone feature |
It seems the fix doesn't work. On 1.6.0 the footer says "0da8bc9". |
Still only the hash in 1.7.0 ( |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
Still an issue with 1.8.0. |
|
@lunny Problem is only in Docker.. |
As @webjoel said it is a problem with the Docker build. |
I think |
You can use DRONE_TAG to get the git tag in some circumstances - https://docs.drone.io/reference/environ/drone-tag/ |
The problem is that the variable DRONE_TAG and DRONE_BRANCH that are used in the Makefile are not forwarded to the docker context and so the the build inside docker doesn't take them into account. |
|
[x]
):Description
In Docker in the footer of the page the displayed version is the commit instead of the version of the tag.
I see this description for the version 1.5.0 / 1.5.0-rc2 / 1.5.0-rc1 / 1.5.0-dev.
The version 1.4.3 show the correct version ( 1.4.3 )
...
Screenshots
Version 1.5.0:
Version 1.4.3:
The text was updated successfully, but these errors were encountered: