-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Updated drone file doesn't build docker images for tags #7476
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
Comments
I don't fully understand the problem. Is it related to https://drone.gitea.io/go-gitea/gitea/10772/1/11 that failed to find the last commit time on tag ? |
From what I have found :
I found two solutions:
|
@sapk specifically this build step https://github.com/go-gitea/gitea/blob/master/.drone.yml#L633 is what should be building images for tags and is not. The conditional in old drone format didn't specify branch. Perhaps, this should be changed to use refs conditionals instead |
Found better by forcing refresh of master fetch by using |
@sapk that failing test you linked has been backported and solved, this issue is about image not building (which is in a different pipeline) |
|
We also lost the tag 1 that is not updated anymore. |
We should maybe change to be similar to https://github.com/drone-plugins/drone-docker/blob/ebce953fc443371d79b5a019fcc9c1976f60a09a/.drone.yml#L99 |
please see https://drone.gitea.io/go-gitea/gitea/10774/4/1
The text was updated successfully, but these errors were encountered: