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