diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 795ef6d2e..945526f4e 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -49,7 +49,7 @@ 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 @@ -57,7 +57,7 @@ jobs: 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 @@ -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 ) }}