Skip to content

Commit

Permalink
Dont use exec script
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Dec 19, 2023
1 parent bb19036 commit 999f093
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,14 @@ jobs:
-e "s|{API_IDENTIFIER}|$API_IDENTIFIER|g" \
.env.example > .env
- name: Startup sample
- name: Build PR image
working-directory: 01-Authorization-RS256
run: sh exec.sh
env:
IMAGE_NAME: ${{ github.event.pull_request.head.sha || github.sha }}
CONTAINER_NAME: ${{ github.event.pull_request.head.sha || github.sha }}
run: |
docker build -t $IMAGE_NAME .
docker run -d --env-file .env -p 3010:3010 $CONTAINER_NAME $IMAGE_NAME
- name: Wait for sample to start
run: |
Expand Down

0 comments on commit 999f093

Please sign in to comment.