6464 spack python clingo/install_clingo.py
6565 spack buildcache push --unsigned ./binary-mirror clingo-bootstrap
6666
67+ - name : Push to OCI registry
68+ env :
69+ GITHUB_ACTOR : ${{ github.actor }}
70+ GITHUB_TOKEN : ${{ github.token }}
71+ run : |
72+ . spack/share/spack/setup-env.sh
6773 spack mirror add \
6874 --oci-username-variable GITHUB_ACTOR \
6975 --oci-password-variable GITHUB_TOKEN \
@@ -94,18 +100,22 @@ jobs:
94100
95101 - uses : docker/setup-buildx-action@v3
96102
97- - name : set Dockerfile path
103+ - name : set base image
98104 run : |
99- echo "DOCKERFILE=./clingo/Dockerfile.manylinux2014$([ '${{ matrix.python-version }}' = '3.14' ] \
100- && echo '-314')" >> $GITHUB_ENV
105+ if [ '${{ matrix.python-version }}' = '3.14' ]; then
106+ echo "BASE_IMAGE=quay.io/pypa/manylinux2014:2025.11.11-1" >> $GITHUB_ENV
107+ else
108+ echo "BASE_IMAGE=ghcr.io/spack/manylinux2014:v2024-10-16" >> $GITHUB_ENV
109+ fi
101110
102111 - uses : docker/build-push-action@v5
103112 with :
104- file : ${{ env.DOCKERFILE }}
113+ file : ./clingo/Dockerfile.manylinux2014
105114 platforms : linux/${{ matrix.arch }}
106115 outputs : type=docker
107116 tags : clingo:latest
108- build-Args : |
117+ build-args : |
118+ BASE_IMAGE=${{ env.BASE_IMAGE }}
109119 PYTHON_VERSION=${{ matrix.python-version }}
110120 GITHUB_ACTOR=${{ github.actor }}
111121 GITHUB_TOKEN=${{ github.token }}
@@ -116,7 +126,7 @@ jobs:
116126
117127 - uses : actions/upload-artifact@v5
118128 with :
119- name : clingo_binary_mirror-linux-${{ matrix.arch}}-${{ matrix.python-version }}
129+ name : clingo_binary_mirror-linux-${{ matrix.arch }}-${{ matrix.python-version }}
120130 path : binary-mirror
121131
122132 clingo_json :
0 commit comments