Skip to content

Commit

Permalink
Bump docker/build-push-action from 4 to 5
Browse files Browse the repository at this point in the history
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored Sep 12, 2023
1 parent f7a80bd commit b434cf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ jobs:

- name: Build PR/versioned tags
if: github.ref != 'refs/heads/master'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
tags: kapicorp/kapitan:${{ format('{0}', env.REF_NAME ) }}
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }} # push image only on non-pull_requests
file: Dockerfile
# TODO push and tag as latest if release (and not RC)
- name: Build latest tag
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/master'
with:
tags: kapicorp/kapitan:${{ format('{0}', env.REF_NAME ) }},kapicorp/kapitan:latest
Expand All @@ -68,7 +68,7 @@ jobs:
[ ${{ env.REF_NAME }} == "master" ] && tagname="latest" || tagname=${{ env.REF_NAME }}
docker run -t --rm kapicorp/kapitan:${tagname} --version
- name: Build major version tag
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
tags: kapicorp/kapitan:${{ format('{0}', env.MAJOR_VERSION ) }}
Expand Down

0 comments on commit b434cf0

Please sign in to comment.