File tree 2 files changed +62
-0
lines changed
2 files changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
8
+ - master
9
+
10
+ env :
11
+ TEST_TAG : yorickp/maldet:test
12
+
13
+ jobs :
14
+ docker :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v3
19
+ - name : Build docker
20
+ uses : docker/build-push-action@v3
21
+ with :
22
+ context : .
23
+ load : true
24
+ tags : ${{ env.TEST_TAG }}
25
+ - name : Test
26
+ run : docker run --rm ${{ env.TEST_TAG }}
27
+
28
+ # before_install:
29
+ # - docker run --rm -i lukasmartinelli/hadolint hadolint --ignore DL4000 --ignore DL3008 - < Dockerfile
30
+
31
+
Original file line number Diff line number Diff line change
1
+ name : ci
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
8
+ - master
9
+
10
+ env :
11
+ TEST_TAG : yorickp/maldet:test
12
+
13
+ jobs :
14
+ docker :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v3
19
+ - name : Build docker
20
+ uses : docker/build-push-action@v3
21
+ with :
22
+ context : .
23
+ load : true
24
+ tags : ${{ env.TEST_TAG }}
25
+ - name : Test
26
+ run : docker run --rm ${{ env.TEST_TAG }}
27
+
28
+ # before_install:
29
+ # - docker run --rm -i lukasmartinelli/hadolint hadolint --ignore DL4000 --ignore DL3008 - < Dockerfile
30
+
31
+
You can’t perform that action at this time.
0 commit comments