Spaces:
Running on Zero
Running on Zero
Fix GitHub Actions Docker build secret passing
Browse filesChanged from 'secret-files' to 'secrets' for passing GitHub token
to Docker build. The Dockerfile expects the secret as a string value,
not a file path.
This fixes the authentication error when cloning the paladin repository:
- cat: /run/secrets/github_token: No such file or directory
- Authentication failed for paladin.git
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
.github/workflows/docker.yml
CHANGED
|
@@ -63,8 +63,8 @@ jobs:
|
|
| 63 |
ssh: default
|
| 64 |
cache-from: type=gha
|
| 65 |
cache-to: type=gha,mode=max
|
| 66 |
-
|
| 67 |
-
|
| 68 |
|
| 69 |
- name: Docker Summary
|
| 70 |
run: |
|
|
|
|
| 63 |
ssh: default
|
| 64 |
cache-from: type=gha
|
| 65 |
cache-to: type=gha,mode=max
|
| 66 |
+
secrets: |
|
| 67 |
+
github_token=${{ secrets.GITHUB_TOKEN }}
|
| 68 |
|
| 69 |
- name: Docker Summary
|
| 70 |
run: |
|