We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 38f8edd + 548fb6a commit 5f88c8bCopy full SHA for 5f88c8b
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,20 @@
1
+name: Build and test
2
+
3
+on:
4
+ push:
5
6
+jobs:
7
8
+ build:
9
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - name: Build the Image
15
+ run: docker build . --file Dockerfile --tag 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