Fix workflow file syntax

- &&, not and
- actually add 'push: true' to last step
pull/239/head
HubbeKing 3 years ago committed by Mike Lang
parent 87b21c0814
commit c217022189

@ -57,8 +57,9 @@ jobs:
- name: Build ${{ matrix.component }} latest - name: Build ${{ matrix.component }} latest
uses: docker/build-push-action@v2.7.0 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: with:
context: ./${{ matrix.component }} context: ./${{ matrix.component }}
file: Dockerfile file: Dockerfile
tags: ghcr.io/ekimekim/wubloader-${{ matrix.component }}:latest tags: ghcr.io/ekimekim/wubloader-${{ matrix.component }}:latest
push: true

Loading…
Cancel
Save