From a8f7fee179d58a3adbb355096ea2396797aa2484 Mon Sep 17 00:00:00 2001 From: ted-cdw Date: Wed, 22 Feb 2023 09:43:41 -0500 Subject: [PATCH] Move Dockerfile to prevent unnecessary cache dirtying --- .github/workflows/flaskr-ci.yaml | 1 + examples/{tutorial => }/Dockerfile | 0 2 files changed, 1 insertion(+) rename examples/{tutorial => }/Dockerfile (100%) diff --git a/.github/workflows/flaskr-ci.yaml b/.github/workflows/flaskr-ci.yaml index cca2c89b..bf68faf6 100644 --- a/.github/workflows/flaskr-ci.yaml +++ b/.github/workflows/flaskr-ci.yaml @@ -68,6 +68,7 @@ jobs: uses: docker/build-push-action@v4 with: context: examples/tutorial + file: ../Dockerfile push: true tags: "ghcr.io/${{ env.REPO_LOWER_CASE }}:${{ env.SHA_SHORT }}" cache-from: type=local,src=${{ env.CACHE_DIR }} diff --git a/examples/tutorial/Dockerfile b/examples/Dockerfile similarity index 100% rename from examples/tutorial/Dockerfile rename to examples/Dockerfile