mirror of
https://github.com/mirego/accent.git
synced 2024-09-11 10:55:28 +03:00
Fix docker push on version tag or latest/master
This commit is contained in:
parent
0710aad821
commit
c0757c15f3
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -71,6 +71,7 @@ jobs:
|
||||
run: mix coveralls.post --token ${{ secrets.COVERALLS_REPO_TOKEN }} --name 'github-actions' --branch ${{ github.ref }} --committer ${{ github.actor }} --sha ${{ github.sha }}
|
||||
|
||||
- uses: docker/build-push-action@v1
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' }}
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
Loading…
Reference in New Issue
Block a user