Skip to content

Commit 15b4c00

Browse files
committed
Add KAMAL_DEPLOY_HOST to env
1 parent 6cfd62e commit 15b4c00

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build-container.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ env:
1717
DOCKER_BUILDKIT: 1
1818
KAMAL_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
1919
KAMAL_REGISTRY_USERNAME: ${{ github.actor }}
20+
KAMAL_DEPLOY_HOST: ${{ secrets.KAMAL_DEPLOY_HOST }}
2021

2122
jobs:
2223
build-container:
@@ -90,5 +91,6 @@ jobs:
9091
- name: Build and push Docker image
9192
env:
9293
SERVICESTACK_LICENSE: ${{ secrets.SERVICESTACK_LICENSE }}
94+
KAMAL_DEPLOY_HOST: ${{ secrets.KAMAL_DEPLOY_HOST }}
9395
run: |
9496
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)