mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-12-13 22:40:16 +00:00
ci: add OCI registry login for buildcache push
This commit is contained in:
5
.github/workflows/buildcache.yml
vendored
5
.github/workflows/buildcache.yml
vendored
@@ -37,6 +37,11 @@ jobs:
|
||||
gcc: ${{ matrix.gcc }}
|
||||
fresh: true
|
||||
|
||||
- name: Login to OCI registry
|
||||
shell: spack-bash {0}
|
||||
run: spack oci login ghcr.io --username ${{ github.actor }} --password-stdin <<< ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Push to buildcache
|
||||
if: ${{ !cancelled() }}
|
||||
shell: spack-bash {0}
|
||||
run: spack buildcache push --unsigned --update-index local-buildcache
|
||||
|
||||
Reference in New Issue
Block a user