NGEET / fates-containers

Repository for containerized version of fates for use in future tutorials
6 stars 7 forks source link

Tagging latest and v.x.y.z with the same dockerhub image #12

Closed glemieux closed 4 years ago

glemieux commented 4 years ago

Currently, the automated build configuration is building the same Dockerfile image twice with the separate git push of the latest and v.x.y.z tags as dictated in the tagging protocol. Since autobuilds take a long time and the images should be exactly the same, there should be some sort of work around available such that we don't have to actually trigger a build for latest.

glemieux commented 4 years ago

This feature has been requested for a future dockerhub update: https://github.com/docker/hub-feedback/issues/712.

In the linked thread it is pointed out that you can do this with post_push hook: https://docs.docker.com/docker-hub/builds/advanced/#build-hook-examples