From 127a80e42bccc906183e29794041ec265dc5bb8e Mon Sep 17 00:00:00 2001 From: Shyim Date: Mon, 4 Mar 2024 16:51:00 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d45d1d0..6f06270 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,25 +24,8 @@ jobs: export "name=ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest" echo "image=${name,,}" >> ${GITHUB_OUTPUT} - - name: Cache Composer - id: cache-composer-files - uses: actions/cache@v3 - with: - path: composer-cache-files - key: composer-cache-${{ hashFiles('composer.lock') }} - - - name: Inject Cache - uses: reproducible-containers/buildkit-cache-dance@v2.1.4 - with: - cache-source: composer-cache-files - cache-target: /root/.composer - skip-extraction: ${{ steps.cache-composer-files.outputs.cache-hit }} - - name: Generate image - run: shopware-cli project docker build ${{ steps.image.outputs.image }} --generate-only - - - name: Show Dockerfile - run: cat Dockerfile + run: docker build -t ${{ steps.image.outputs.image }} . - name: Build and push uses: docker/build-push-action@v5