Fix workflow file syntax

- &&, not and
- actually add 'push: true' to last step
pull/233/head
HubbeKing 4 years ago
parent b0a27d79f7
commit 67aaf7ca19
No known key found for this signature in database
GPG Key ID: 7C60FBD151BFFC9E

@ -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

Loading…
Cancel
Save