File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,10 @@ jobs:
9696 - name : Build and push Docker image
9797 env :
9898 SERVICESTACK_LICENSE : ${{ secrets.SERVICESTACK_LICENSE }}
99- KAMAL_DEPLOY_HOST : ${{ env.KAMAL_DEPLOY_HOST }}
100- SERVICE : ${{ env.SERVICE }}
99+ KAMAL_DEPLOY_HOST : ${{ secrets.KAMAL_DEPLOY_HOST }}
101100 run : |
102- docker build \
103- --build-arg SERVICESTACK_LICENSE="$SERVICESTACK_LICENSE" \
104- --build-arg KAMAL_DEPLOY_HOST="$KAMAL_DEPLOY_HOST" \
105- --build-arg SERVICE="$SERVICE" \
106- -t ${{ env.IMAGE }}:latest \
107- -f Dockerfile .
108- docker push ${{ env.IMAGE }}:latest
101+ dotnet publish --os linux --arch x64 -c Release \
102+ -p:ContainerRepository=${{ env.IMAGE }} \
103+ -p:ContainerRegistry=ghcr.io -p:ContainerImageTags=latest \
104+ -p:ContainerPort=80 \
105+ -p:ContainerEnvironmentVariable="SERVICESTACK_LICENSE=${{ env.SERVICESTACK_LICENSE }}"
You can’t perform that action at this time.
0 commit comments