Skip to content

Commit 51d618f

Browse files
committed
fix: remove authentication for downloading http-cli
1 parent a77b46e commit 51d618f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/build-base.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,9 @@ jobs:
3737

3838
- name: Build and push base
3939
run: |
40-
echo "${{ secrets.GHCR_PAT }}" > github_token
4140
docker buildx build \
4241
--platform linux/arm64 \
4342
--provenance=false \
44-
--secret id=github_token,src=github_token \
4543
--target base \
4644
--tag ghcr.io/${{ github.repository_owner }}/lambda-shell-runtime:base \
4745
--push \

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ RUN dnf install -y unzip && \
66
dnf clean all
77

88
# Download http-cli
9-
RUN --mount=type=secret,id=github_token \
10-
curl -H "Authorization: token $(cat /run/secrets/github_token)" \
9+
RUN curl \
1110
-L "https://github.com/ql4b/http-cli/archive/refs/tags/${HTTP_CLI_VERSION}.zip" \
1211
-o http-cli.zip && \
1312
unzip http-cli.zip && \

0 commit comments

Comments
 (0)