From 67aaf7ca19927d1ea026e44391473e4db09ae212 Mon Sep 17 00:00:00 2001 From: HubbeKing Date: Sun, 17 Oct 2021 19:07:33 +0300 Subject: [PATCH] Fix workflow file syntax - &&, not and - actually add 'push: true' to last step --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0c0107e..e953278 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,8 +57,9 @@ jobs: - name: Build ${{ matrix.component }} latest uses: docker/build-push-action@v2.7.0 - if: github.event_name != 'pull_request' and github.ref == 'refs/heads/master' + if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master' with: context: ./${{ matrix.component }} file: Dockerfile tags: ghcr.io/ekimekim/wubloader-${{ matrix.component }}:latest + push: true