diff --git a/.github/workflows/release_docker.yml b/.github/workflows/release_docker.yml index c4307920..28c4e0ec 100644 --- a/.github/workflows/release_docker.yml +++ b/.github/workflows/release_docker.yml @@ -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 }} diff --git a/build.sh b/build.sh index c4cf3723..e220994a 100755 --- a/build.sh +++ b/build.sh @@ -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"