Skip to content

Commit a77b46e

Browse files
committed
fix: fix authentication issues
1 parent dc83c0c commit a77b46e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ jobs:
3333
password: ${{ secrets.GHCR_PAT }}
3434
- name: Build and push base
3535
run: |
36+
echo "${{ secrets.GHCR_PAT }}" > github_token
3637
docker buildx build \
3738
--platform linux/arm64 \
3839
--provenance=false \
39-
--secret id=github_token,env=GITHUB_TOKEN \
40+
--secret id=github_token,src=github_token \
4041
--target base \
4142
--tag ghcr.io/${{ github.repository_owner }}/lambda-shell-runtime:base \
4243
--push \

.github/workflows/build-base.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ jobs:
3737

3838
- name: Build and push base
3939
run: |
40+
echo "${{ secrets.GHCR_PAT }}" > github_token
4041
docker buildx build \
4142
--platform linux/arm64 \
4243
--provenance=false \
43-
--secret id=github_token,env=GITHUB_TOKEN \
44+
--secret id=github_token,src=github_token \
4445
--target base \
4546
--tag ghcr.io/${{ github.repository_owner }}/lambda-shell-runtime:base \
4647
--push \

0 commit comments

Comments
 (0)