update branch name in action
All checks were successful
Publish / docker (push) Successful in 2m58s

This commit is contained in:
Lee 2023-10-11 23:02:02 +00:00
parent 90f39bb409
commit 418ef17b73

@ -36,7 +36,7 @@ jobs:
- name: Build and Push (Latest)
uses: docker/build-push-action@v4
if: steps.branch-name.outputs.current_branch == 'master'
if: steps.branch-name.outputs.current_branch == 'main'
with:
push: true
context: .
@ -46,7 +46,7 @@ jobs:
- name: Build and Push (Other Branches)
uses: docker/build-push-action@v4
if: steps.branch-name.outputs.current_branch != 'master'
if: steps.branch-name.outputs.current_branch != 'main'
with:
push: true
context: .