Skip to content

Commit 548fb6a

Browse files
committed
test the application
1 parent de2aa0d commit 548fb6a

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v3
14-
- name: Build the Container image
14+
- name: Build the Image
1515
run: docker build . --file Dockerfile --tag appuio/example-php-docker-helloworld:latest
16-
- name: Run the Container image
17-
run: docker run -d appuio/example-php-docker-helloworld:latest
16+
- name: Run the Container
17+
run: docker run -d --publish 8080:8080 appuio/example-php-docker-helloworld:latest
18+
- name: Test the app
19+
run: sleep 11 && curl -f localhost:8080/health/
20+

0 commit comments

Comments
 (0)