Skip to content

Commit 9c80164

Browse files
committed
Fix Docker Image CI codestyle 🐳
1 parent f1b725b commit 9c80164

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/docker-image.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
name: Docker Image CI
22

3-
on: [push]
3+
on:
4+
pull_request:
5+
push:
6+
branches: [master]
47

58
jobs:
6-
79
build:
810
runs-on: ubuntu-latest
911
steps:
10-
- uses: actions/checkout@v1
11-
- 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
12+
- name: Checkout code
13+
uses: actions/checkout@v1
14+
- name: Build the Docker image
15+
run: docker build . --file Dockerfile --tag bakery:$(date +%s)
16+
- name: Hadolint Action
17+
uses: brpaz/hadolint-action@v1.2.1
18+
with:
19+
dockerfile: Dockerfile

0 commit comments

Comments
 (0)