diff --git a/.circleci/config.yml b/.circleci/config.yml index b62ef48..9adde9a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,10 +19,6 @@ jobs: curl -s -L "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=$MAX_TOKEN&suffix=tar.gz" -o GeoLite2-Country.tar.gz tar -xzf GeoLite2-Country.tar.gz --strip-components 1 --wildcards "*.mmdb" - - run: - name: Build UI - command: npm run client-build - - run: name: Build and publish dockerfiles command: sh docker.sh diff --git a/docker.arm64.sh b/docker.arm64.sh index febc565..c1318d6 100644 --- a/docker.arm64.sh +++ b/docker.arm64.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=$(npm pkg get version | tr -d \") +VERSION=$(cat package.json | grep -E '"version"' | tr -d \") LATEST="latest" # if branch is unstable in git for circle ci diff --git a/docker.sh b/docker.sh index 2050bb1..344855c 100644 --- a/docker.sh +++ b/docker.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=$(npm pkg get version | tr -d \") +VERSION=$(cat package.json | grep -E '"version"' | tr -d \") LATEST="latest" # if branch is unstable in git for circle ci