fix(docker): repair build
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m2s
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m2s
This commit is contained in:
@@ -24,6 +24,16 @@ jobs:
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Test runtime
|
||||
run: |
|
||||
docker build --target build -t debug-build .
|
||||
docker run --rm -d -p 3000:3000 --name test-app debug-build sh -c "cd /app && npx nuxt dev --host 0.0.0.0"
|
||||
sleep 15
|
||||
curl -s http://localhost:3000 || true
|
||||
curl -s http://localhost:3000/gallery || true
|
||||
docker logs test-app
|
||||
docker stop test-app
|
||||
|
||||
- name: Build and push Docker image
|
||||
run: |
|
||||
docker build -t git.pihkaal.me/pihkaal/pihkaal-me:latest .
|
||||
|
||||
Reference in New Issue
Block a user