From 9dc326d26dd6700fa316e5770e569bc70b728af8 Mon Sep 17 00:00:00 2001 From: Karol Krizka Date: Sat, 28 Dec 2024 10:22:08 +0100 Subject: [PATCH] Switch to using alma9 image for buildcache. --- .github/workflows/build-template.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-template.yaml b/.github/workflows/build-template.yaml index 3be3486..fa6d563 100644 --- a/.github/workflows/build-template.yaml +++ b/.github/workflows/build-template.yaml @@ -9,7 +9,9 @@ on: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest + container: + image: gitlab-registry.cern.ch/linuxsupport/alma9-base:latest permissions: packages: write steps: @@ -58,5 +60,5 @@ jobs: spack env activate spack/var/repo/mucoll-spack/environments/mucoll-${{ inputs.target }} spack install --only-concrete --no-add --fail-fast - name: Push Spack Packages - run: spack -e spack/var/repo/mucoll-spack/environments/mucoll-${{ inputs.target }} buildcache push --base-image ubuntu:22.04 --update-index local-buildcache + run: spack -e spack/var/repo/mucoll-spack/environments/mucoll-${{ inputs.target }} buildcache push --base-image gitlab-registry.cern.ch/linuxsupport/alma9-base:latest --update-index local-buildcache if: ${{ !cancelled() }} \ No newline at end of file