fix(ci): Add load:true for Docker image and secret key for testing
This commit is contained in:
parent
2bd44bb8b0
commit
b479903b6c
1 changed files with 2 additions and 0 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -176,6 +176,7 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
push: false
|
||||
load: true
|
||||
tags: streamflix:test
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
|
@ -184,6 +185,7 @@ jobs:
|
|||
run: |
|
||||
docker run -d --name test -p 8000:8000 \
|
||||
-e STREAMFLIX_DEBUG=true \
|
||||
-e STREAMFLIX_SECRET_KEY=sf_tv_secure_9s8d7f6g5h4j3k2l1 \
|
||||
streamflix:test
|
||||
sleep 10
|
||||
curl -f http://localhost:8000/api/health || exit 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue