-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
In Gitea version with docker container shows git hash commit #5468
Comments
I have same problem on version 1.6.1 |
I have just pulled
The web interface is reporting version |
The docker:
image: plugins/docker:17.12
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/gitea
tags: [ '${DRONE_BRANCH##release/v}' ]
when:
event: [ push ]
branch: [ release/* ] The This behaviour should be fixed if the event condition is changed from I can test this and create a PR in the next few days if desired. |
My proposed fix does not work. The Problem is, the Drone string operations do not support regex based replacing, only removing prefix/suffix and substrings. |
how can I figure out what version I'm on, is there a file or something internal to the docker image? |
Try checking the release section. But if you used the latest tag this will probably not work |
@gcstang you you add that hash to the end of https://github.com/go-gitea/gitea/commit/ then you'll be taken to the exact commit (ex |
This issue is still not fixed in gitea docker version 1.6.4. Only the git commit According to this comment it is also present in the new gitea docker version 1.7.0. I think this is a duplicate of issue #4782 |
Duplicate of #4782 |
[x]
):Description
Gitea running in a container docker is displaying in the footer instead of the version (v1.6.0) the hash commit of git (0da8bc9), is this correct?
I am using release v1.6.0 from docker image: gitea/gitea:1.6.0
Screenshots
The text was updated successfully, but these errors were encountered: