Closed surminus closed 3 years ago
The code change looks fine to me but the github actions error does not. It looks like it is trying and failing to push the tagged image to dockerhub and is failing. Has this job fallen foul of our container repository changes? I am assuming that we can ignore the deprecation warning, that seems to be urging us to use docker/build-push-action@v2 in place of docker/build-push-action@v1.
We don't actually need the Docker image to be built since GitHub Actions does not use a pre-built image, it builds it on demand. So I'm inclined to delete this push completely.
Gone ahead and added a commit that does just that :)
The difference in size is ~850MB vs ~50MB; this is because the standard base image is built on a very chunky Ubuntu base image. Given this has to be built each time, it would be much quicker to build it using the much smaller image.