File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -16,31 +16,25 @@ jobs:
16
16
runs-on : ubuntu-18.04
17
17
18
18
steps :
19
- - uses : actions/checkout@v1
20
- with :
21
- fetch-depth : 1
19
+ - uses : actions/checkout@v2
22
20
23
21
- name : build
24
22
env :
25
23
DOCKER_IMAGE : docker.pkg.github.com/${{ github.repository }}/action:latest
26
24
run : |
27
- docker build . --file Dockerfile --tag ${DOCKER_IMAGE} ||
28
- (echo -e "\e[31m[${GITHUB_WORKFLOW}] failed to build\e[m" && exit 1)
25
+ docker build . --file Dockerfile --tag ${DOCKER_IMAGE}
29
26
30
27
shellcheck :
31
28
runs-on : ubuntu-18.04
32
29
steps :
33
- - uses : actions/checkout@v1
34
- with :
35
- fetch-depth : 1
30
+ - uses : actions/checkout@v2
31
+
36
32
- name : shellcheck
37
33
run : shellcheck ./entrypoint.sh
38
34
39
35
hadolint :
40
36
runs-on : macos-latest
41
37
steps :
42
- - uses : actions/checkout@v1
43
- with :
44
- fetch-depth : 1
38
+ - uses : actions/checkout@v2
45
39
- run : brew install hadolint
46
40
- run : hadolint ./Dockerfile
You can’t perform that action at this time.
0 commit comments