NGEET / fates-containers

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

Adding post_push hooks to automatically tag last autobuild with additional `latest` tag #13

Closed glemieux closed 4 years ago

glemieux commented 4 years ago

This PR resolves #12 so that dockerhub won't spend additional time trying to build a duplicate <prefix>-latest tag when a versioned tag already exists. It uses the advanced autobuild functions noted in https://docs.docker.com/docker-hub/builds/advanced/#build-hook-examples.

This also brings in minor edits to the README

Testing: This was tested succesfully on my personal repo using the gcc550 Dockerfile.