Pass license public key to test Docker builds

This commit is contained in:
rcourtman
2025-12-19 23:03:19 +00:00
parent 7f05d87809
commit 91178d2b24
2 changed files with 6 additions and 3 deletions

View File

@@ -52,7 +52,9 @@ jobs:
- name: Build Docker images for test environment
run: |
docker build -t pulse-mock-github:test ./tests/integration/mock-github-server
docker build -t pulse:test -f Dockerfile .
docker build -t pulse:test -f Dockerfile --build-arg PULSE_LICENSE_PUBLIC_KEY="$PULSE_LICENSE_PUBLIC_KEY" .
env:
PULSE_LICENSE_PUBLIC_KEY: ${{ secrets.PULSE_LICENSE_PUBLIC_KEY }}
- name: Start test containers
working-directory: tests/integration
@@ -95,4 +97,3 @@ jobs:
name: test-failures
path: tests/integration/test-results/
retention-days: 7

View File

@@ -72,7 +72,9 @@ jobs:
# Build Pulse test image
cd ../../
docker build -t pulse:test -f Dockerfile .
docker build -t pulse:test -f Dockerfile --build-arg PULSE_LICENSE_PUBLIC_KEY="$PULSE_LICENSE_PUBLIC_KEY" .
env:
PULSE_LICENSE_PUBLIC_KEY: ${{ secrets.PULSE_LICENSE_PUBLIC_KEY }}
- name: Run diagnostic smoke test
working-directory: tests/integration