Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pellecchialuigi authored Sep 4, 2024
1 parent 5ce9b1c commit 5c5c45b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,15 @@ jobs:
name: basil-app
path: /tmp
- name: Load images
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
run: |
docker load --input /tmp/basil-api.tar
docker load --input /tmp/basil-app.tar
docker image ls -a
docker run -d --privileged --network=host basil-api_${{ env.BRANCH_NAME }}
docker run -d --network=host basil-app_${{ env.BRANCH_NAME }}
echo "Test Api is running"
curl -f http://localhost:5000/version
echo "Test App is running"
curl -f http://localhost:9000

0 comments on commit 5c5c45b

Please sign in to comment.