Skip to content

Commit

Permalink
add docker build before release
Browse files Browse the repository at this point in the history
  • Loading branch information
katarinagud committed Oct 29, 2024
1 parent c9c527f commit 2ba45b7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ jobs:
fetch_all_tags: true
dry_run: ${{ env.RELEASE != 'true' }}
release_branches: ${{ inputs.branches }}

- name: Build Docker image
uses: docker/build-push-action@v6
with:
push: false
no-cache: true
context: .
file: 'MockServer/Dockerfile.Server'
secrets: |
NUGET_GITHUB_PACKAGES_USERNAME=${{ secrets.NUGET_GITHUB_PACKAGES_USERNAME }}
NUGET_GITHUB_PACKAGES_TOKEN=${{ secrets.NUGET_GITHUB_PACKAGES_TOKEN }}
load: true
platforms: linux/amd64
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 2ba45b7

Please sign in to comment.