Skip to content

Commit bc21963

Browse files
[spack] Use signing key for buildcache
1 parent 4fe6feb commit bc21963

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,5 @@ jobs:
9494
push: ${{ github.event_name != 'pull_request' }}
9595
tags: ${{ steps.meta.outputs.tags }}
9696
labels: ${{ steps.meta.outputs.labels }}
97+
secrets: |
98+
"signingkey=${{ secrets.BUILDCACHE_PRIVATE_KEY }}"

spack/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN mkdir -p recipes && \
2828

2929
ADD import_signing_key.sh /tmp
3030

31-
RUN --mount=type=secret,id=signingkey,uid=1000 /tmp/import_signing_key.sh /run/secrets/signingkey
31+
RUN --mount=type=secret,id=signingkey /tmp/import_signing_key.sh /run/secrets/signingkey
3232

3333
FROM base AS builder
3434

0 commit comments

Comments
 (0)