Skip to content

Commit

Permalink
Switch to using alma9 image for buildcache.
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrizka committed Dec 28, 2024
1 parent e3fe610 commit 9dc326d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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() }}

0 comments on commit 9dc326d

Please sign in to comment.