Skip to content

Commit

Permalink
ci: Fix github action for docker build/publish
Browse files Browse the repository at this point in the history
  • Loading branch information
vyruz1986 authored Nov 10, 2023
1 parent 742c4b3 commit d054972
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: "5.x"
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/[email protected]
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
Expand All @@ -35,6 +42,6 @@ jobs:
with:
context: .
push: true
file: API\DoorRequest.API\Dockerfile
file: HaSpMan.Web.Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit d054972

Please sign in to comment.