File tree Expand file tree Collapse file tree 5 files changed +34
-2
lines changed Expand file tree Collapse file tree 5 files changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ concurrency:
2222jobs :
2323 build-base :
2424 runs-on : ubuntu-latest
25+ env :
26+ HTTP_CLI_VERSION : v1.1.0
2527 steps :
2628 - uses : actions/checkout@v3
2729 - name : Set up Docker Buildx
4749 --platform linux/arm64,linux/amd64 \
4850 --provenance=false \
4951 --secret id=github_token,src=github_token \
52+ --build-arg HTTP_CLI_VERSION=${{ env.HTTP_CLI_VERSION }} \
5053 --target base \
5154 --tag ghcr.io/${{ github.repository_owner }}/lambda-shell-runtime:base \
5255 --tag public.ecr.aws/j5r7n1v7/lambda-shell-runtime:base \
6063 runs-on : ubuntu-latest
6164 if : github.event.pull_request.draft == false || github.event_name != 'pull_request'
6265 env :
63- HTTP_CLI_VERSION : v1.0.1
66+ HTTP_CLI_VERSION : v1.1.0
6467 steps :
6568 - uses : actions/checkout@v3
6669 - uses : actions/setup-node@v3
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ concurrency:
2828jobs :
2929 build-base :
3030 runs-on : ubuntu-latest
31+ env :
32+ HTTP_CLI_VERSION : v1.1.0
3133 steps :
3234 - uses : actions/checkout@v4
3335
4850 --platform linux/arm64 \
4951 --provenance=false \
5052 --secret id=github_token,src=github_token \
53+ --build-arg HTTP_CLI_VERSION=${{ env.HTTP_CLI_VERSION }} \
5154 --target base \
5255 --tag ghcr.io/${{ github.repository_owner }}/lambda-shell-runtime:base \
5356 --push \
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ concurrency:
1818jobs :
1919 build-installers :
2020 runs-on : ubuntu-latest
21+ env :
22+ HTTP_CLI_VERSION : v1.1.0
2123 steps :
2224 - uses : actions/checkout@v4
2325
Original file line number Diff line number Diff line change 11FROM public.ecr.aws/lambda/provided:al2023 AS builder
22
3- ARG HTTP_CLI_VERSION=v1.0.1
3+ ARG HTTP_CLI_VERSION=v1.1.0
44
55RUN dnf install -y unzip && \
66 dnf clean all
Original file line number Diff line number Diff line change @@ -244,6 +244,30 @@ The shell runtime is **highly competitive** with official runtimes while providi
244244# Optimize shell script performance
245245```
246246
247+ ## Updating http-cli Version
248+
249+ The runtime includes [ http-cli] ( https://github.com/ql4b/http-cli ) for simplified HTTP operations. To update to a newer version:
250+
251+ 1 . ** Update version in all configuration files:**
252+ - ` .github/workflows/build-and-release.yml ` (2 locations)
253+ - ` .github/workflows/build-base.yml `
254+ - ` .github/workflows/build-installers.yml `
255+ - ` Dockerfile ` (ARG HTTP_CLI_VERSION)
256+ - ` build-enhanced ` script (default value)
257+
258+ 2 . ** Trigger a new build:**
259+ ``` bash
260+ # Push changes to trigger GitHub Actions
261+ git add .
262+ git commit -m " Update http-cli to vX.X.X"
263+ git push origin develop
264+ ```
265+
266+ 3 . ** Or build locally:**
267+ ``` bash
268+ HTTP_CLI_VERSION=v1.2.0 ./build-enhanced --load tiny
269+ ```
270+
247271## Contributing
248272
249273We welcome contributions! Please see our [ contributing guidelines] ( CONTRIBUTING.md ) for details.
You can’t perform that action at this time.
0 commit comments