Skip to content

Commit

Permalink
Merge pull request #145 from octodns/dependabot/github_actions/docker…
Browse files Browse the repository at this point in the history
…/build-push-action-6
  • Loading branch information
parkr committed Sep 12, 2024
2 parents 8ea8a5f + 6143b69 commit 46dc3d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-on-push-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
registry: docker.io
username: octodns
- name: build & push image for all supported platforms
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
build-args: OCTODNS_FLAVOR=${{ matrix.flavor }}
cache-from: type=gha
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
org.opencontainers.image.licenses=MIT
tags: type=raw,value={{date 'YYYY.MM'}}
- name: build image on all platforms
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
build-args: OCTODNS_FLAVOR=${{ matrix.flavor }}
cache-from: type=gha
Expand Down
4 changes: 2 additions & 2 deletions script/generate-workflow-files
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def write_test_workflow(flavors):
},
{
'name': 'build image on all platforms',
'uses': 'docker/build-push-action@v4',
'uses': 'docker/build-push-action@v6',
'with': {
'context': 'all',
'platforms': PLATFORMS,
Expand Down Expand Up @@ -127,7 +127,7 @@ def write_publish_workflow(flavors):
},
{
'name': 'build & push image for all supported platforms',
'uses': 'docker/build-push-action@v4',
'uses': 'docker/build-push-action@v6',
'with': {
'context': 'all',
'push': '${{ github.event_name == \'push\' && github.ref == \'refs/heads/main\' }}',
Expand Down

0 comments on commit 46dc3d6

Please sign in to comment.