Skip to content

Commit 3bad2c6

Browse files
authored
Set project to publish
1 parent 4830742 commit 3bad2c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ jobs:
3131
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
3232
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
3333
run: |
34-
dotnet publish -c Release \
35-
-t:PublishContainer
34+
dotnet publish "src/BF2WebAdmin.Server/BF2WebAdmin.Server.csproj" \
35+
-c Release \
36+
-t:PublishContainer \
37+
-p:RuntimeIdentifier=linux-x64 \
3638
-p:ContainerRegistry=docker.io \
3739
-p:ContainerRepository=nihlen/bf2-webadmin \
3840
-p:ContainerImageTags='"latest;$SHORT_SHA"'

0 commit comments

Comments
 (0)