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 f1b725b commit 9c80164Copy full SHA for 9c80164
.github/workflows/docker-image.yml
@@ -1,16 +1,19 @@
1
name: Docker Image CI
2
3
-on: [push]
+on:
4
+ pull_request:
5
+ push:
6
+ branches: [master]
7
8
jobs:
-
9
build:
10
runs-on: ubuntu-latest
11
steps:
- - uses: actions/checkout@v1
- - name: Build the Docker image
12
- run: docker build . --file Dockerfile --tag bakery:$(date +%s)
13
- - name: Hadolint Action
14
- uses: brpaz/hadolint-action@v1.2.1
15
- with:
16
- dockerfile: Dockerfile
+ - name: Checkout code
+ uses: actions/checkout@v1
+ - name: Build the Docker image
+ run: docker build . --file Dockerfile --tag bakery:$(date +%s)
+ - name: Hadolint Action
17
+ uses: brpaz/hadolint-action@v1.2.1
18
+ with:
19
+ dockerfile: Dockerfile
0 commit comments