Merge pull request #471 from dockcross/fix-deploy-ci

Fix deploy step in CI
This commit is contained in:
Jonas Vautherin 2021-02-10 17:27:26 +01:00 committed by GitHub
commit 2caebd702b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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