fix: remove latest tag build step

This commit is contained in:
Mohamed Sohail 2021-10-05 09:21:31 +03:00
parent df1c38a6f0
commit 8bf5c1fec5
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
2 changed files with 1 additions and 3 deletions

View File

@ -40,9 +40,7 @@ build-push:
- chmod +x sbot - chmod +x sbot
- ./sbot predict version -m git-commit - ./sbot predict version -m git-commit
- export TAG=$(./sbot predict version) - export TAG=$(./sbot predict version)
- TAG=$TAG sh ./scripts/build.sh
- TAG=$TAG sh ./scripts/build-push.sh - TAG=$TAG sh ./scripts/build-push.sh
- TAG=latest sh ./scripts/build-push.sh
- git tag -a v$TAG -m "ci tagged" - git tag -a v$TAG -m "ci tagged"
- git push origin v$TAG - git push origin v$TAG
rules: rules:

View File

@ -4,6 +4,6 @@
set -e set -e
TAG=${TAG?Variable not set} \ TAG=${TAG?Variable not set} \
# sh ./scripts/build.sh sh ./scripts/build.sh
docker-compose -f docker-compose.yml push docker-compose -f docker-compose.yml push