diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 2258a71b..b9285031 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -48,11 +48,11 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - - name: Build and also push Dockerimage (only build on PRs) + - name: Build and also push Dockerimage id: build-and-push uses: docker/build-push-action@v3 with: context: . - push: ${{ github.event_name != 'pull_request' }} + push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}