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 3bfbca7 commit 611f4b5Copy full SHA for 611f4b5
.github/workflows/missing-checksum.yml
@@ -0,0 +1,22 @@
1
+name: Check Alpine CHECKSUM
2
+
3
+on:
4
+ pull_request:
5
+ paths:
6
+ - ".github/workflows/missing-checksum.yml"
7
+ - "**/alpine*/Dockerfile"
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
15
+ - name: Count number of Alpine Dockersfiles without CHECKSUM
16
+ run: |
17
+ if [ "$(find -path *alpine*/Dockerfile -exec grep -l CHECKSUM=\"\" {} \; | wc -l)" == 0 ]; then
18
+ exit 0
19
+ else
20
+ # echo "::error file=FILENAME,line=15,col=22::Missing pre-built checksum"
21
+ exit 1
22
+ fi
0 commit comments