Skip to content

Commit

Permalink
fixup!chore(github-action): build cnb image - use host network on doc…
Browse files Browse the repository at this point in the history
…ker run - debug
  • Loading branch information
o-orand committed Sep 25, 2024
1 parent cd3e2e9 commit c0f3a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-using-cnb-buildpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
cat vcap-services-template.sh|envsubst >vcap-service.env
cat vcap-service.env
echo "Starting sample app"
container_id=$(docker run -d --network host -e PORT=80 --env-file vcap-service.env -p 8080:80 --name "cnb-app-container" ${{env.CNB_IMAGE_NAME}})
container_id=$(docker run -d --network host -e PORT=8080 --env-file vcap-service.env --name "cnb-app-container" ${{env.CNB_IMAGE_NAME}})
echo "Cnb app started (id: $container_id)"
docker inspect -f '{{.HostConfig.LogConfig.Type}}' $container_id
# docker run -e PORT=80 --env-file vcap-service.env -p 8080:80 --name "cnb-app-container" ${{env.CNB_IMAGE_NAME}}
Expand Down

0 comments on commit c0f3a6b

Please sign in to comment.