Skip to content

Commit

Permalink
Merge pull request #34 from BretFisher/dependabot/github_actions/dock…
Browse files Browse the repository at this point in the history
…er/build-push-action-6

Bump docker/build-push-action from 5 to 6
  • Loading branch information
BretFisher authored Jun 18, 2024
2 parents 2cc47e1 + 5bc2e83 commit bf240f8
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/01-basic-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Docker build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
tags: bretfisher/docker-ci-automation:latest,bretfisher/docker-ci-automation:01
2 changes: 1 addition & 1 deletion .github/workflows/02-add-buildkit-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Docker build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
tags: bretfisher/docker-ci-automation:02
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/03-add-multi-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Docker build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
tags: bretfisher/docker-ci-automation:03
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/04-add-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
#NEW: (END) ############################################################

- name: Docker build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
#NEW: (START) ##########################################################
push: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/05-add-comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
type=semver,pattern={{version}}
- name: Docker build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: false # false for this demo to prevent overwriting image tags of other examples
tags: ${{ steps.docker_meta.outputs.tags }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/06-add-cve-scanning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and export to Docker
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: false
load: true # Export to Docker Engine rather than pushing to a registry
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
# type=semver,pattern={{version}}

- name: Docker Build and Push to Docker Hub
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/07-add-cve-scanning-adv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and export to Docker
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: false
load: true # Export to Docker Engine rather than pushing to a registry
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
# type=semver,pattern={{version}}

- name: Docker Build and Push to Docker Hub
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/08-add-unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

#NEW: (START) ##########################################################
- name: Build and export to Docker
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: false
load: true # Export to Docker Engine rather than pushing to a registry
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
# type=semver,pattern={{version}}

- name: Docker Build and Push to Docker Hub
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/09-add-integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and export to Docker
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: false
load: true # Export to Docker Engine rather than pushing to a registry
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
# type=semver,pattern={{version}}

- name: Docker Build and Push to Docker Hub
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/10-add-k8s-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push to GHCR
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
tags: ghcr.io/bretfisher/docker-ci-automation:${{ github.run_id }}
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
# type=semver,pattern={{version}}

- name: Docker Build and Push to Docker Hub
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/99-parallelize-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push to GHCR
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
tags: ghcr.io/bretfisher/docker-ci-automation:${{ github.run_id }}
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
# type=semver,pattern={{version}}

- name: Docker Build and Push to GHCR and Docker Hub
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
Expand Down

0 comments on commit bf240f8

Please sign in to comment.