Skip to content

Commit

Permalink
Fix: docker build args
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Oct 9, 2023
1 parent 3849bd6 commit 885f6b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
context: .
build-args:
VERSION="v${{ steps.get_version.outputs.VERSION }}"
VERSION=v${{ steps.get_version.outputs.VERSION }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function ParseArgs() {
exit 0
;;
v)
VERSION="$(echo "$OPTARG" | sed 's/ //g')"
VERSION="$(echo "$OPTARG" | sed 's/ //g' | sed 's/"//g' | sed 's/\n//g')"
;;
w)
WEB_VERSION="$OPTARG"
Expand Down

0 comments on commit 885f6b3

Please sign in to comment.