Skip to content

Commit

Permalink
fix: Issue in pipeline to run api (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik committed May 11, 2023
2 parents e9ea3bf + fc28885 commit 860a779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-prod-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
docker run --network=host --name api -dit --env NODE_ENV=test JWT_SECRET=impler ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG
docker run --network=host --name api -dit --env NODE_ENV=test --env JWT_SECRET=impler ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$IMAGE_TAG
docker run --network=host appropriate/curl --retry 10 --retry-delay 5 --retry-connrefused http://localhost:3000/v1/health-check | grep 'ok'
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
Expand Down

0 comments on commit 860a779

Please sign in to comment.