Skip to content

Commit

Permalink
set env
Browse files Browse the repository at this point in the history
  • Loading branch information
Kailai-Wang committed Nov 21, 2023
1 parent 6ff1870 commit 959ba43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/create-release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,13 @@ jobs:
ref: ${{ env.RELEASE_TAG }}
fetch-depth: 0

- name: Set env
run: |
DOCKER_TAG=$(echo ${{ env.RELEASE_TAG }} | cut -d'-' -f1 | sed 's/p/v/')
echo "DOCKER_TAG=$DOCKER_TAG" >> $GITHUB_ENV
- name: Build docker image
run: |
export DOCKER_TAG=$(echo ${{ env.RELEASE_TAG }} | cut -d'-' -f1 | sed 's/p/v/')
./scripts/build-docker.sh production $DOCKER_TAG
echo "============================="
docker images
Expand Down

0 comments on commit 959ba43

Please sign in to comment.