mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-12-14 06:50:17 +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 }}
|
gcc: ${{ matrix.gcc }}
|
||||||
fresh: true
|
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
|
- name: Push to buildcache
|
||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
|
shell: spack-bash {0}
|
||||||
run: spack buildcache push --unsigned --update-index local-buildcache
|
run: spack buildcache push --unsigned --update-index local-buildcache
|
||||||
|
|||||||
Reference in New Issue
Block a user