Skip to content

Commit 470fc6b

Browse files
committed
fix docker release
1 parent 3a14140 commit 470fc6b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ script:
1212
- docker-compose -f integration-test/docker-compose-travis.yml up -d --force-recreate
1313
- go test -v
1414
- go test -tags=integration
15-
- docker build -t alexakulov/clickhouse-backup:${TRAVIS_TAG//v} -t alexakulov/clickhouse-backup:latest .
15+
- docker build -t alexakulov/clickhouse-backup:latest .
1616
after_success:
1717
- tar -czvf clickhouse-backup.tar.gz clickhouse-backup
1818
deploy:

docker_push.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
echo "${DOCKER_PASSWORD}" | docker login -u alexakulov --password-stdin
44

55
if [ "$1" == "release" ]; then
6+
docker tag "alexakulov/clickhouse-backup:latest" "alexakulov/clickhouse-backup:${TRAVIS_TAG//v}"
67
docker push "alexakulov/clickhouse-backup:${TRAVIS_TAG//v}"
78
else
89
docker push "alexakulov/clickhouse-backup:latest"

0 commit comments

Comments
 (0)