Fix conditional to deploy from master branch

This commit is contained in:
Jonas Vautherin 2021-02-10 16:24:34 +01:00
parent 948832857e
commit eb5176506c

View File

@ -50,7 +50,7 @@ jobs:
- name: test - name: test
run: make ${{ matrix.arch_name }}.test run: make ${{ matrix.arch_name }}.test
- name: deploy - name: deploy
if: github.ref == 'master' if: github.ref == 'refs/heads/master'
run: | run: |
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
docker image push dockcross/${{ matrix.arch_name }} docker image push dockcross/${{ matrix.arch_name }}