Skip to content

Commit 12c2b66

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

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,12 @@ jobs:
6161
6262
echo "Detected VERSION: $VERSION"
6363
echo "VERSION=$VERSION" >> $GITHUB_ENV
64+
- name: Log in to GHCR
65+
run: echo "${{ secrets.GHCR_PAT }}" | docker login ghcr.io -u skunxicat --password-stdin
6466
- name: Build Docker images
6567
run: |
6668
echo "${{ secrets.GHCR_PAT }}" > github_token
6769
export DOCKER_BUILDKIT=1
68-
VERSION=$VERSION
6970
IMAGE=ghcr.io/ql4b/lambda-shell-runtime
7071
7172
docker buildx build --builder shell-runtime-builder --platform linux/arm64 \
@@ -112,8 +113,6 @@ jobs:
112113
-t $IMAGE:full-latest \
113114
.
114115
shell: bash
115-
- name: Log in to GHCR
116-
run: echo "${{ secrets.GHCR_PAT }}" | docker login ghcr.io -u skunxicat --password-stdin
117116
- run: npx semantic-release
118117
env:
119118
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)