Skip to content

Commit 0aa5a44

Browse files
committed
Swap to docker run
1 parent 2b780f2 commit 0aa5a44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/clingo.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@ jobs:
132132
docker cp "clingo-c:/root/binary-mirror" binary-mirror
133133
134134
- run: |
135-
docker exec -e GITHUB_TOKEN=$GITHUB_TOKEN -e GITHUB_ACTOR=$GITHUB_ACTOR clingo-c \
136-
spack mirror add \
135+
docker run -e GITHUB_TOKEN=$GITHUB_TOKEN -e GITHUB_ACTOR=$GITHUB_ACTOR {{ steps.build.outputs.imageid }} \
136+
/bin/bash -c "spack mirror add \
137137
--oci-username=${{ github.actor }} \
138138
--oci-password-variable=GITHUB_TOKEN \
139139
ghcr oci://ghcr.io/spack/bootstrap-buildcache-pr51 && \
140-
spack buildcache push --unsigned ghcr clingo-bootstrap
140+
spack buildcache push --unsigned ghcr clingo-bootstrap"
141141
142142
- uses: actions/upload-artifact@v5
143143
with:

0 commit comments

Comments
 (0)