We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb86704 commit 438cd2eCopy full SHA for 438cd2e
.github/workflows/dockerimage.yml
@@ -0,0 +1,22 @@
1
+name: Docker Image CI
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
11
+ build:
12
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v2
17
18
+ - name: Build the Docker image
19
+ run: docker build . --tag ${{ github.repository }}
20
21
+ - name: Run nginx -V
22
+ run: docker run -t ${{ github.repository }} nginx -V
0 commit comments