Skip to content

Commit

Permalink
Simplify the publish step (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
csharpfritz authored Feb 16, 2024
1 parent 91f3358 commit 97f2b90
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ jobs:
- name: Restore
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: ./src/TagzApp.Blazor

- name: Publish
run: dotnet publish --os linux --arch x64 -t:PublishContainer /p:ContainerImageTags='"${{ steps.nbgv_version.outputs.Version }};latest"' /p:ContainerRegistry=ghcr.io
run: dotnet publish --configuration Release --no-restore --os linux --arch x64 -t:PublishContainer /p:ContainerImageTags='"${{ steps.nbgv_version.outputs.Version }};latest"' /p:ContainerRegistry=ghcr.io
working-directory: ./src/TagzApp.Blazor

0 comments on commit 97f2b90

Please sign in to comment.