Skip to content

Commit

Permalink
Updated build push action to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenJDH committed Nov 28, 2024
1 parent 169775c commit 1d10bba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dotnet-action-sonar-container-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,15 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build${{ needs.build.outputs.mode == 'test' && ' and Tag ' || ', Tag, and Push ' }}Image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: MavenVersionChecker.Action/Dockerfile
push: ${{ needs.build.outputs.mode == 'release' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
env:
DOCKER_BUILD_SUMMARY: false

- name: Test Action Locally
if: ${{ needs.build.outputs.mode == 'test' }}
Expand Down

0 comments on commit 1d10bba

Please sign in to comment.