File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 1111 id-token : write
1212 contents : read
1313 runs-on : ubuntu-latest
14- name : integration testing in docker compose
14+ name : Test the Docker Container Build
1515 defaults :
1616 run :
1717 shell : bash --noprofile --norc -eo pipefail -x {0}
2828
2929 - name : Run docker build
3030 run : |
31- docker build . -t cognition --build-arg NPM_TOKEN=${{ secrets.CEREBRUM_NPM_TOKEN }}
32-
33- - name : Smoke test
34- run : |
35- docker run -d -p 3000:3000 cognition
36- sleep 30
37- if [ "$(curl -s -o /dev/null -w "%{http_code}" localhost:3000/orders)" != "200" ]; then
38- echo "Smoke test failed. Non-200 response received."
39- exit 1
40- fi
41- docker stop $(docker ps -q --filter ancestor=cognition)
31+ docker build . -t node-playwright-base-image
You can’t perform that action at this time.
0 commit comments