This commit is contained in:
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: .
|
||||
|
Reference in New Issue
Block a user