mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-12-14 15:00:17 +00:00
ci: fix OCI registry authentication for buildcache push
This commit is contained in:
2
.github/workflows/buildcache.yml
vendored
2
.github/workflows/buildcache.yml
vendored
@@ -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() }}
|
||||
|
||||
Reference in New Issue
Block a user