From c7dbe6b0726b45aa8958360ae6deede592f1e416 Mon Sep 17 00:00:00 2001 From: Shyim Date: Tue, 30 Jan 2024 16:39:29 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cdb8aa9..960cc4d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,8 +21,11 @@ jobs: export "name=ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest" echo "image=${name,,}" >> ${GITHUB_OUTPUT} - - name: Build image - run: shopware-cli project docker build ${{ steps.image.outputs.image }} + - name: Generate image + run: shopware-cli project docker build ${{ steps.image.outputs.image }} --generate-only - - name: Push - run: docker push ${{ steps.image.outputs.image }} + - name: Build and push + uses: docker/build-push-action@v5 + with: + push: true + tags: ${{ steps.image.outputs.image }}