push to docker hub github actions per commit #74
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allow to retain older versions of the master branch of georchestra gateway.
Each new commit will be available under the docker image georchestra/gateway:commit-the_sha_id
We are currently in a fast moving period of the software, and sometimes it breaks the infrastructure. It would be great to be able to easily and rapidly come back to a previous commit of gateway instead of spending the time in building a new docker image locally.
Only downside is that docker hub doesn't really allow setting ourselves an automatic expiration of the docker images. Only quay.io does allow it.
However, it seems like docker hub does it own automatic expiration so we should still be good with that: https://www.docker.com/blog/docker-hub-image-retention-policy-delayed-and-subscription-updates/