Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/actions/build-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ runs:
state: open
- name: Build and push
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
platforms: ${{ inputs.platform }}
Expand All @@ -139,7 +139,7 @@ runs:
cache-to: type=gha,scope=${{ inputs.image }}-${{ steps.platform.outputs.suffix }},mode=max
- name: Build and push PR
if: (github.ref != 'refs/heads/master' || github.ref != 'refs/heads/main') && steps.findPr.outputs.number > 0
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
platforms: ${{ inputs.platform }}
Expand All @@ -163,7 +163,7 @@ runs:
Your build has the image tag: `${{inputs.tag-prefix}}oneclickpr-${{ steps.findPr.outputs.pr }}-${{ env.BUILD_NUMBER }}` :sparkles:
- name: Build and push Release
if: contains(github.ref, 'release')
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
platforms: ${{ inputs.platform }}
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/build-publish-docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ runs:
state: open
- name: Build and push
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
platforms: ${{ inputs.platform }}
Expand All @@ -155,7 +155,7 @@ runs:
cache-to: type=gha,scope=${{ inputs.image }}-${{ steps.platform.outputs.suffix }},mode=max
- name: Build and push latest
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && inputs.latest_tag == 'true'
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
platforms: ${{ inputs.platform }}
Expand All @@ -170,7 +170,7 @@ runs:
cache-to: type=gha,scope=${{ inputs.image }}-${{ steps.platform.outputs.suffix }},mode=max
- name: Build and push PR
if: (github.ref != 'refs/heads/master' || github.ref != 'refs/heads/main') && steps.findPr.outputs.number > 0
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
platforms: ${{ inputs.platform }}
Expand All @@ -194,7 +194,7 @@ runs:
Your build has the image tag: `${{inputs.tag-prefix}}oneclickpr-${{ steps.findPr.outputs.pr }}-${{ env.BUILD_NUMBER }}` :sparkles:
- name: Build and push Release
if: contains(github.ref, 'release')
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
platforms: ${{ inputs.platform }}
Expand Down