From 0569c4cc61bc8314a4d59adf49edf978c31bc52a Mon Sep 17 00:00:00 2001 From: Chris Wilkinson Date: Wed, 3 Jul 2024 11:44:00 +0100 Subject: [PATCH] Don't reclone the repo Refs #28, https://github.com/docker/build-push-action/tree/v6.3.0?tab=readme-ov-file#git-context --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56e13eb..1b3b10f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,15 +48,11 @@ jobs: env: PREREVIEW_REVIEWS_DATA_TOKEN: ${{ secrets.PREREVIEW_REVIEWS_DATA_TOKEN }} - - name: 'Debug' - run: | - pwd - ls -l - - name: 'Build image' id: build uses: docker/build-push-action@v5.3.0 with: + context: . outputs: type=docker,dest=/tmp/image.tar cache-from: type=gha,ignore-error=true cache-to: type=gha,mode=max,ignore-error=true