Skip to content

Commit

Permalink
Set authentication method for mirror before concretisation
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Nov 3, 2023
1 parent 303c7a4 commit 98aaf91
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
- name: Spack version
run: spack debug report

- name: Set authentication method for mirror
run: |
spack -e . mirror set --oci-username ${{ github.actor }} --oci-password "${{ secrets.GITHUB_TOKEN }}" local-buildcache
- name: Concretize
run: spack -e . concretize

Expand All @@ -33,6 +37,5 @@ jobs:
- name: Push packages and update index
run: |
spack -e . mirror set --push --oci-username ${{ github.actor }} --oci-password "${{ secrets.GITHUB_TOKEN }}" local-buildcache
spack -e . buildcache push -j $(($(nproc) + 1)) --base-image ubuntu:22.04 --unsigned --update-index local-buildcache
if: always()

0 comments on commit 98aaf91

Please sign in to comment.