diff options
author | 2020-11-17 01:06:33 +0100 | |
---|---|---|
committer | 2020-11-17 01:06:33 +0100 | |
commit | 10f06322c0b3483101810eb2b30e2c9cb7b8e18a (patch) | |
tree | 0a4fced54cd54cee689f6487354ff3690aae6298 | |
parent | Add Python and coveralls to workflow (diff) |
Build final image and push to GHCR
-rw-r--r-- | .github/workflows/lint-test.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index ecb5834..7aa8f32 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -90,3 +90,20 @@ jobs: run: | pip install coveralls~=2.1 coveralls + + - name: Build final image + run: "docker build \ + -f docker/Dockerfile \ + -t ghcr.io/python-discord/snekbox:latest \ + --cache-from ghcr.io/python-discord/snekbox:latest \ + --build-arg BUILDKIT_INLINE_CACHE=1 \ + ." + + - name: Push base image + run: docker push ghcr.io/python-discord/snekbox-base:latest + + - name: Push venv image + run: docker push ghcr.io/python-discord/snekbox-venv:latest + + - name: Push final image + run: docker push ghcr.io/python-discord/snekbox:latest |