mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 09:04:27 +01:00
Fix conditional to deploy from master branch
This commit is contained in:
parent
948832857e
commit
eb5176506c
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user