Files
atlantis/.github
Jeppe Fihl-Pearson 124eb6b4a8 Use GitHub Actions cache when building Docker images (#2737)
* Use GitHub Actions cache when building Docker images

This firstly removes the `pull: true` option from all
`build-push-action` invocations, as it was assumed it caused Docker to
pull the existing image first before building the new one, where as it
instead makes sure the base image is up to date prior to starting the
build.

Instead the `cache-from` and `cache-to` options are added which cause
the action to store and retrieve caches for each layer from GitHub
Actions' cache system as documented at
https://docs.docker.com/build/ci/github-actions/examples/#cache-backend-api.

* Pin exact Go version in testing image

This matches what is done for the production image.
2022-12-04 21:16:57 -06:00
..