diff options
author | 2020-11-16 22:48:52 +0100 | |
---|---|---|
committer | 2020-11-16 22:48:52 +0100 | |
commit | e5d7f378c311ba8c992e6a335aee083a15e2ce48 (patch) | |
tree | 0a985b1504b61edd0051b74a815f16b40afc80fb | |
parent | Show image list after build (diff) |
Build venv container
-rw-r--r-- | .github/workflows/lint-test.yaml | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 0315d7c..edb625a 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -54,17 +54,20 @@ jobs: - name: Show Containers run: docker image ls -# - name: Build venv image -# uses: docker/build-push-action@v2 -# with: -# context: . -# file: ./docker/venv.Dockerfile -# push: false -# load: true -# cache-from: type=local,src=/tmp/.venv-buildx-cache -# cache-to: type=local,type=local,dest=/tmp/.venv-buildx-cache,mode=max -# tags: ghcr.io/python-discord/snekbox-venv:latest -# + - name: Build venv image + uses: docker/build-push-action@v2 + with: + context: . + file: ./docker/venv.Dockerfile + push: false + load: true + cache-from: type=local,src=/tmp/.venv-buildx-cache + cache-to: type=local,type=local,dest=/tmp/.venv-buildx-cache,mode=max + tags: ghcr.io/python-discord/snekbox-venv:latest + + - name: Show Containers + run: docker image ls + # - name: Start Container # run: 'docker run \ # --tty \ |