Fix: Only master branch should push the docker image
All checks were successful
Build and deploy automation_rs / Build (push) Successful in 4m57s
Build and deploy automation_rs / Create container (push) Successful in 57s
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped

This commit is contained in:
Dreaded_X 2023-11-23 00:17:48 +01:00
parent cdb02eb5dd
commit 39f9b997ed
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -65,7 +65,8 @@ jobs:
uses: https://github.com/docker/build-push-action@v5
with:
context: .
push: true
push: ${{ gitea.ref == 'refs/heads/master' }}
# TODO: Automatically add the correct tags here
tags: git.huizinga.dev/dreaded_x/automation_rs:latest
deploy: