Compare commits
2 Commits
0f57963155
...
595f7fdfe2
Author | SHA1 | Date | |
---|---|---|---|
595f7fdfe2 | |||
5467f31dd7 |
@ -35,7 +35,7 @@ jobs:
|
|||||||
key: ${{ runner.os }}-buildx
|
key: ${{ runner.os }}-buildx
|
||||||
|
|
||||||
- name: Build and Push (Latest)
|
- name: Build and Push (Latest)
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v5
|
||||||
if: steps.branch-name.outputs.current_branch == 'main'
|
if: steps.branch-name.outputs.current_branch == 'main'
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
@ -45,7 +45,7 @@ jobs:
|
|||||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||||
|
|
||||||
- name: Build and Push (Other Branches)
|
- name: Build and Push (Other Branches)
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v5
|
||||||
if: steps.branch-name.outputs.current_branch != 'main'
|
if: steps.branch-name.outputs.current_branch != 'main'
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
|
Reference in New Issue
Block a user