File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Validate Alpine
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - master
7
+ paths :
8
+ - ' **/alpine*/Dockerfile'
9
+ - ' .github/workflows/alpine.yml'
10
+
11
+ jobs :
12
+ build-smoke-test :
13
+ timeout-minutes : 30
14
+ runs-on : ubuntu-latest
15
+ name : ${{ matrix.ghc }}-alpine${{ matrix.os_version }}
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ ghc : ['9.0.2', '9.2.1']
20
+ os_version : ['3.14', '3.15']
21
+ include :
22
+ - ghc : ' 9.0.2'
23
+ ghc_minor : ' 9.0'
24
+ - ghc : ' 9.2.1'
25
+ ghc_minor : ' 9.2'
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+ - name : build + smoke test [${{ matrix.ghc }}]
29
+ uses : nick-invision/retry@v2
30
+ with :
31
+ timeout_minutes : 8
32
+ max_attempts : 3
33
+ command : |
34
+ docker build --pull \
35
+ -t haskell:${{ matrix.ghc }}-alpine${{ matrix.os_version }} \
36
+ ${{ matrix.ghc_minor }}/alpine${{ matrix.os_version }}
37
+ - uses : actions/checkout@v2
38
+ with :
39
+ repository : AlistairB/official-images
40
+ ref : haskell-sh
41
+ path : official-images
42
+ - name : run official-images tests
43
+ run : ./official-images/test/run.sh haskell:${{ matrix.ghc }}-alpine${{ matrix.os_version }}
You can’t perform that action at this time.
0 commit comments