File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,9 @@ jobs:
133
133
install_tree:
134
134
root: /opt/spack
135
135
padded_length: 128
136
+ mirrors:
137
+ local-buildcache: oci://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.BASE_VERSION }}
138
+ spack: https://binaries.spack.io/v0.23.1
136
139
packages:
137
140
llvm:
138
141
externals:
@@ -141,7 +144,7 @@ jobs:
141
144
EOF
142
145
143
146
- name : Configure GHCR mirror
144
- run : spack -e . mirror add --oci-username ${{ env.USERNAME }} --oci-password "${{ secrets.GITHUB_TOKEN }}" local-buildcache oci://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.BASE_VERSION }}
147
+ run : spack -e . mirror set --oci-username ${{ env.USERNAME }} --oci-password "${{ secrets.GITHUB_TOKEN }}" local-buildcache
145
148
146
149
- name : Trust keys
147
150
run : spack -e . buildcache keys --install --trust
@@ -159,7 +162,7 @@ jobs:
159
162
run : spack -e . concretize
160
163
161
164
- name : Install dependencies
162
- run : spack -e . install --no-check-signature --no-cache --fresh -- only dependencies
165
+ run : spack -e . install --no-check-signature --only dependencies
163
166
164
167
- name : Install package
165
168
run : spack -e . install --keep-stage --no-check-signature --no-cache --fresh
You can’t perform that action at this time.
0 commit comments