From 8bf5c1fec564e03c7e2dc3b53b198d660c68167e Mon Sep 17 00:00:00 2001 From: Mohammed Sohail Date: Tue, 5 Oct 2021 09:21:31 +0300 Subject: [PATCH] fix: remove latest tag build step --- .gitlab-ci.yml | 2 -- scripts/build-push.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54087347..3e79e76f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,9 +40,7 @@ build-push: - chmod +x sbot - ./sbot predict version -m git-commit - export TAG=$(./sbot predict version) - - TAG=$TAG sh ./scripts/build.sh - TAG=$TAG sh ./scripts/build-push.sh - - TAG=latest sh ./scripts/build-push.sh - git tag -a v$TAG -m "ci tagged" - git push origin v$TAG rules: diff --git a/scripts/build-push.sh b/scripts/build-push.sh index c18dfa11..141a9e6c 100755 --- a/scripts/build-push.sh +++ b/scripts/build-push.sh @@ -4,6 +4,6 @@ set -e TAG=${TAG?Variable not set} \ -# sh ./scripts/build.sh +sh ./scripts/build.sh docker-compose -f docker-compose.yml push