Fix: Only master branch should push the docker image
This commit is contained in:
parent
cdb02eb5dd
commit
94609166ef
|
@ -65,7 +65,7 @@ jobs:
|
||||||
uses: https://github.com/docker/build-push-action@v5
|
uses: https://github.com/docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: ${{ gitea.ref == 'refs/heads/master' }}
|
||||||
tags: git.huizinga.dev/dreaded_x/automation_rs:latest
|
tags: git.huizinga.dev/dreaded_x/automation_rs:latest
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user