Skip to content

Commit

Permalink
update to this version of the build docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
katarinagud committed Oct 28, 2024
1 parent e21af2c commit cf17d59
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,18 @@ jobs:
release_branches: ${{ inputs.branches }}
dry_run: ${{ env.RELEASE != 'true' }}

- name: Docker Build
uses: docker/build-push-action@v5
if: ${{ steps.context.outputs.should-publish == 'false' }}
- name: Build Docker image
uses: docker/build-push-action@v6
with:
push: false
no-cache: true
context: .
file: ./Source/Dockerfile
build-args: |
CONFIGURATION=Release
secrets: |
NUGET_GITHUB_PACKAGES_USERNAME=${{ secrets.NUGET_GITHUB_PACKAGES_USERNAME }}
NUGET_GITHUB_PACKAGES_TOKEN=${{ secrets.NUGET_GITHUB_PACKAGES_TOKEN }}
file: ${{ inputs.dockerfile || 'Source/Dockerfile' }}
load: true
platforms: linux/amd64
tags: ${{ env.DOCKER_IMAGE_REGISTRY_PATH }}:latest
tags: image:local
build-args: |
BUILD_VERSION=${{ steps.tag.outputs.new_version }}
- name: Apply version tag to Docker images
id: references
Expand Down

0 comments on commit cf17d59

Please sign in to comment.