Skip to content

Commit

Permalink
Update branch detection for master (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe authored Nov 2, 2020
1 parent 1a03641 commit 34512a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
docker tag ppiper/node-browsers:${{ matrix.base-image-tag }} ppiper/node-browsers:latest
docker tag ghcr.io/sap/ppiper-node-browsers:${{ matrix.base-image-tag }} ghcr.io/sap/ppiper-node-browsers:latest
- name: Push
if: ${{ github.ref == 'ref/head/master' }}
if: ${{ github.ref == 'refs/heads/master' }}
run: |
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USER }} --password-stdin
echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u ${{ secrets.CR_USER }} --password-stdin
Expand Down

0 comments on commit 34512a6

Please sign in to comment.