Github tag to Docker hub tag


Possible to get the GitHub repository tag into Docker hub Image tag?
Im using Drone 0.5.

Seen variables like ${DRONE_TAG} and $$TAG without success.

Here is a real world example of how projects are doing this with 0.5

Note that you need to use ${DRONE_TAG} or ${TAG} with 0.5. The $$ notation was for 0.4 and is no longer supported.

1 Like

Thanks for the help, my big misstake was I thought I used Drone 0.5.0 but you are mixing up the :latest tag in Docker Hub so it was 0.4.2, by changing and adding new agents etc everything now works.