[solved] The tags on Dockerhub and Github

According to https://github.com/drone/drone/blob/master/.drone.yml , Drone’s docker images tagged as 0.5, 0.5.0 and 0.5.0-rc seem to get updated. Is this intentional?

Do you think the idea to fix .drone.yml like below to get tags on DockerHub to follow the tags on Github except for the latest tag ?

  docker_latest:
    image: plugins/docker
    repo: drone/drone
    tag: [ "latest" ]
    when:
      branch: master
      event: push

  docker_tag:
    image: plugins/docker
    repo: drone/drone
    tag: [ "${DRONE_TAG}" ]
    when:
      branch: master
      event: tag

yes, it is intentional, [ 0.5, 0.5.0 ] are updated on every push. When 0.5.0 is officially released, we will update the yaml to [ 0.5, 0.5.1 ], leaving 0.5.0 as a stable snapshot.

1 Like

Thank you for the quick reply. I got it.