1919
2020jobs :
2121 docker-image-build :
22- runs-on : ubuntu-latest
2322 permissions :
2423 contents : read
2524 packages : write
@@ -28,59 +27,16 @@ jobs:
2827 strategy :
2928 fail-fast : true
3029 matrix :
31- image :
30+ operating-system-base :
3231 - ubuntu-2204-lts
3332 gap-build :
3433 - bare
3534 - full
3635 gap-version :
3736 - 4.14.0
3837 - 4.13.1
39-
40- steps :
41- - name : 👨💻 git -- checkout
42- uses : actions/checkout@v4
43-
44- - name : 🐬 docker -- metadata
45- id : meta
46- uses : docker/metadata-action@v5
47- with :
48- images : |
49- name=ghcr.io/${{ github.repository }}
50- tags : |
51- type=sha
52- type=raw,value=${{ matrix.gap-version }}-${{ matrix.gap-build }}
53-
54-
55- - name : 📦 docker -- login to ghcr-registry
56- uses : docker/login-action@v3
57- with :
58- registry : ghcr.io
59- username : ${{ github.actor }}
60- password : ${{ secrets.GITHUB_TOKEN }}
61-
62- - name : 💻 quemu -- setup
63- uses : docker/setup-qemu-action@v3
64-
65- - name : 🐬 docker -- setup buildx
66- uses : docker/setup-buildx-action@v3
67- with :
68- install : true
69- driver-opts : |
70- image=moby/buildkit:master
71- network=host
72-
73- - name : 🐬 docker -- build and push
74- uses : docker/build-push-action@v6
75- with :
76- context : ./src/dockerfiles/${{ matrix.image }}
77- file : ./src/dockerfiles/${{ matrix.image }}/Dockerfile
78- push : ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
79- tags : ${{ steps.meta.outputs.tags }}
80- labels : ${{ steps.meta.outputs.labels }}
81- target : ${{ matrix.gap-build }}
82- platforms : linux/amd64,linux/arm64
83- cache-from : type=gha
84- cache-to : type=gha,mode=max`
85- build-args : |
86- GAP_VERSION=${{ matrix.gap-version }}
38+ uses : ./.github/workflows/worflow-dispatch-build.yaml
39+ with :
40+ gap-version : ${{ matrix.gap-version }}
41+ gap-build : ${{ matrix.gap-build }}
42+ operating-system-base : ${{ matrix.operating-system-base }}
0 commit comments