Skip to content

Commit 650fcea

Browse files
committed
fix: fix the mess with VERSION and HTTP_CLI_VERSION
1 parent 8baaab4 commit 650fcea

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ jobs:
6969
IMAGE=ghcr.io/ql4b/lambda-shell-runtime
7070
7171
docker buildx build --builder shell-runtime-builder --platform linux/arm64 \
72-
--build-arg HTTP_CLI_VERSION=$VERSION \
72+
--build-arg VERSION="$VERSION" \
73+
--build-arg HTTP_CLI_VERSION="$HTTP_CLI_VERSION" \
7374
--output type=registry --progress=plain \
7475
--secret id=github_token,src=github_token \
7576
--cache-from type=local,src=/tmp/.buildx-cache \
@@ -79,7 +80,8 @@ jobs:
7980
--target base .
8081
8182
docker buildx build --builder shell-runtime-builder --platform linux/arm64 \
82-
--build-arg HTTP_CLI_VERSION=$VERSION \
83+
--build-arg VERSION="$VERSION" \
84+
--build-arg HTTP_CLI_VERSION="$HTTP_CLI_VERSION" \
8385
--output type=registry --progress=plain \
8486
--secret id=github_token,src=github_token \
8587
--cache-from type=local,src=/tmp/.buildx-cache \
@@ -89,7 +91,8 @@ jobs:
8991
--target tiny .
9092
9193
docker buildx build --builder shell-runtime-builder --platform linux/arm64 \
92-
--build-arg HTTP_CLI_VERSION=$VERSION \
94+
--build-arg VERSION="$VERSION" \
95+
--build-arg HTTP_CLI_VERSION="$HTTP_CLI_VERSION" \
9396
--output type=registry --progress=plain \
9497
--secret id=github_token,src=github_token \
9598
--cache-from type=local,src=/tmp/.buildx-cache \
@@ -99,7 +102,8 @@ jobs:
99102
--target micro .
100103
101104
docker buildx build --builder shell-runtime-builder --platform linux/arm64 \
102-
--build-arg HTTP_CLI_VERSION=$VERSION \
105+
--build-arg VERSION="$VERSION" \
106+
--build-arg HTTP_CLI_VERSION="$HTTP_CLI_VERSION" \
103107
--output type=registry --progress=plain \
104108
--secret id=github_token,src=github_token \
105109
--cache-from type=local,src=/tmp/.buildx-cache \

0 commit comments

Comments
 (0)