We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a77b46e commit 51d618fCopy full SHA for 51d618f
2 files changed
.github/workflows/build-base.yml
@@ -37,11 +37,9 @@ jobs:
37
38
- name: Build and push base
39
run: |
40
- echo "${{ secrets.GHCR_PAT }}" > github_token
41
docker buildx build \
42
--platform linux/arm64 \
43
--provenance=false \
44
- --secret id=github_token,src=github_token \
45
--target base \
46
--tag ghcr.io/${{ github.repository_owner }}/lambda-shell-runtime:base \
47
--push \
Dockerfile
@@ -6,8 +6,7 @@ RUN dnf install -y unzip && \
6
dnf clean all
7
8
# Download http-cli
9
-RUN --mount=type=secret,id=github_token \
10
- curl -H "Authorization: token $(cat /run/secrets/github_token)" \
+RUN curl \
11
-L "https://github.com/ql4b/http-cli/archive/refs/tags/${HTTP_CLI_VERSION}.zip" \
12
-o http-cli.zip && \
13
unzip http-cli.zip && \
0 commit comments