From 1392a3125043d22043f3855225eeae33013b8c70 Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Sun, 30 Nov 2025 14:50:02 +0100 Subject: [PATCH] ci: fix OCI registry authentication for buildcache push --- .github/workflows/buildcache.yml | 2 +- test/ci/spack.yaml | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/buildcache.yml b/.github/workflows/buildcache.yml index 10367519..52a04659 100644 --- a/.github/workflows/buildcache.yml +++ b/.github/workflows/buildcache.yml @@ -39,7 +39,7 @@ jobs: - name: Login to OCI registry shell: spack-bash {0} - run: spack oci login ghcr.io --username ${{ github.actor }} --password-stdin <<< ${{ secrets.GITHUB_TOKEN }} + run: spack -e fairmq mirror set --push --oci-username ${{ github.actor }} --oci-password-variable GITHUB_TOKEN local-buildcache - name: Push to buildcache if: ${{ !cancelled() }} diff --git a/test/ci/spack.yaml b/test/ci/spack.yaml index 0b1c23ef..26682881 100644 --- a/test/ci/spack.yaml +++ b/test/ci/spack.yaml @@ -1,10 +1,6 @@ spack: specs: - - "fairlogger@2.2.0 ^fmt@:11" - - "boost@1.66: +container +program_options +filesystem +date_time +regex" - - "libzmq@4.1.4:" - - ninja - - "cmake@3.15:" + - zlib-ng config: install_tree: