Skip to content

Commit e723618

Browse files
committed
Update build-container.yml
1 parent 1d3f49a commit e723618

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-container.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,7 @@ jobs:
8888
dotnet-version: 8.0.x
8989

9090
- name: Build and push Docker image
91+
env:
92+
SERVICESTACK_LICENSE: ${{ secrets.SERVICESTACK_LICENSE }}
9193
run: |
92-
dotnet publish --os linux --arch x64 -c Release -p:ContainerRepository=${{ env.image_repository_name }} -p:ContainerRegistry=ghcr.io -p:ContainerImageTags=latest -p:ContainerPort=80
94+
dotnet publish --os linux --arch x64 -c Release -p:ContainerRepository=${{ env.image_repository_name }} -p:ContainerRegistry=ghcr.io -p:ContainerImageTags=latest -p:ContainerPort=80 -p:ContainerEnvironmentVariable="SERVICESTACK_LICENSE=${{ secrets.SERVICESTACK_LICENSE }}"

0 commit comments

Comments
 (0)