Skip to content

Commit

Permalink
Merge pull request #68 from orange-cloudfoundry/dependabot/github_act…
Browse files Browse the repository at this point in the history
…ions/docker/build-push-action-4.2.1

github-action: bump docker/build-push-action from 4.0.0 to 4.2.1
  • Loading branch information
o-orand authored Sep 12, 2023
2 parents 1c47631 + 2ab0638 commit e602708
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-image-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:

- name: Build for acceptance test
if: steps.check_for_tests.outputs.files_exist == 'true'
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ./${{ inputs.image }}
file: ./${{ inputs.image }}/${{inputs.dockerfile}}
Expand All @@ -127,7 +127,7 @@ jobs:
if: steps.check_for_tests.outputs.files_exist == 'true'

- name: Build and push to ghcr
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ./${{ inputs.image }}
platforms: ${{ inputs.platforms }}
Expand All @@ -145,7 +145,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build and push to docker hub
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ./${{ inputs.image }}
platforms: ${{ inputs.platforms }}
Expand Down
21 changes: 11 additions & 10 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
build_and_publish:
name: build, test and publish
runs-on: ubuntu-latest

permissions:
packages: write
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down Expand Up @@ -54,7 +55,7 @@ jobs:
done
-
name: publish curl-ssl image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ${{env.IMAGE}}
push: true
Expand All @@ -67,7 +68,7 @@ jobs:
IMAGE: curl-ssl
-
name: publish git-ssh image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ${{env.IMAGE}}
push: true
Expand All @@ -80,7 +81,7 @@ jobs:
IMAGE: git-ssh
-
name: publish cf-cli image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ${{env.IMAGE}}
push: true
Expand All @@ -93,7 +94,7 @@ jobs:
IMAGE: cf-cli
-
name: publish k8s-tools image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ${{env.IMAGE}}
push: true
Expand All @@ -106,7 +107,7 @@ jobs:
IMAGE: k8s-tools
-
name: publish bosh-cli-v2 image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ${{env.IMAGE}}
push: true
Expand All @@ -119,7 +120,7 @@ jobs:
IMAGE: bosh-cli-v2
-
name: publish terraform image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ${{env.IMAGE}}
push: true
Expand All @@ -132,7 +133,7 @@ jobs:
IMAGE: terraform
-
name: publish spruce image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ${{env.IMAGE}}
push: true
Expand Down Expand Up @@ -160,7 +161,7 @@ jobs:
done
-
name: publish awscli image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ${{env.IMAGE}}
push: true
Expand All @@ -173,7 +174,7 @@ jobs:
IMAGE: awscli
-
name: publish bosh-cli-v2-cf-cli image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v4.2.1
with:
context: ${{env.IMAGE}}
push: true
Expand Down

0 comments on commit e602708

Please sign in to comment.