diff --git a/.version b/.version index 6085e94..23aa839 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -1.2.1 +1.2.2 diff --git a/docs/swagger.yaml b/docs/swagger.yaml index bace333..01859a5 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -10,7 +10,7 @@ consumes: - "application/json" info: title: "Hyperpic API" - version: "v1.2.1" + version: "v1.2.2" x-logo: url: "https://cdn.rawgit.com/hyperscale/hyperpic/master/_resources/hyperpic.svg" description: Fast HTTP microservice for high-level image processing. diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 4d55f22..114522d 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -60,7 +60,7 @@ docker build --rm \ # tagging latest only master branch if [ "$LATEST" == "true" ]; then echo "Tagging $DOCKER_ORGANISATION/$DOCKER_REPO:latest.." - docker tag "$DOCKER_ORGANISATION/$DOCKER_REPO" "$DOCKER_ORGANISATION/$DOCKER_REPO:latest" + docker tag "$DOCKER_ORGANISATION/$DOCKER_REPO:$DOCKER_TAG" "$DOCKER_ORGANISATION/$DOCKER_REPO:latest" fi # pushing only in CI mode