File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+
3+ on :
4+ push :
5+ branches :
6+ - " main"
7+ pull_request :
8+ branches : [main]
9+
10+ jobs :
11+ build_autoconf :
12+ name : Build and test
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ autoconf_version : ["2.69", "2.71", "2.72"]
17+ runs-on : ubuntu-latest
18+ defaults :
19+ run :
20+ working-directory : ./autoconf
21+ env :
22+ TAG : autoconf:${{ matrix.autoconf_version }}-${{ github.run_id }}
23+ steps :
24+ - name : Checkout Push to Registry action
25+ uses : actions/checkout@v4
26+ - name : Set up Docker Buildx
27+ uses : docker/setup-buildx-action@v3
28+ - name : Build Dockerfile
29+ uses : docker/build-push-action@v5
30+ with :
31+ context : .
32+ build-args : AUTOCONF_VERSION=${{ matrix.autoconf_version }}
33+ load : true
34+ tags : ${{ env.TAG }}
35+ - name : Test
36+ run : docker run --rm $TAG autoconf --version | grep ${{ matrix.autoconf_version }}
You can’t perform that action at this time.
0 commit comments