Move Dockerfile to prevent unnecessary cache dirtying
This commit is contained in:
parent
646cf24a70
commit
a8f7fee179
2 changed files with 1 additions and 0 deletions
1
.github/workflows/flaskr-ci.yaml
vendored
1
.github/workflows/flaskr-ci.yaml
vendored
|
|
@ -68,6 +68,7 @@ jobs:
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: examples/tutorial
|
context: examples/tutorial
|
||||||
|
file: ../Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: "ghcr.io/${{ env.REPO_LOWER_CASE }}:${{ env.SHA_SHORT }}"
|
tags: "ghcr.io/${{ env.REPO_LOWER_CASE }}:${{ env.SHA_SHORT }}"
|
||||||
cache-from: type=local,src=${{ env.CACHE_DIR }}
|
cache-from: type=local,src=${{ env.CACHE_DIR }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue