Skip to content

Commit b882a6c

Browse files
committed
fix push docker release and update readme
1 parent 34d2790 commit b882a6c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

ReadMe.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Tool for easy ClickHouse backup and restore with S3 support
1010
## Features
1111

1212
- Easy creating and restoring backups of all or specific tables
13-
- Most efficient AWS S3 uploading and downloading with streaming archiving and extracting
13+
- Efficient storing of multiple backups on the file system
14+
- Most efficient AWS S3 uploading and downloading with streaming compression
1415
- Support of incremental backups on S3
1516

1617
## Compatibility
@@ -108,7 +109,7 @@ s3:
108109
backups_to_keep_s3: 0 # BACKUPS_TO_KEEP_S3
109110
compression_level: 1 # S3_COMPRESSION_LEVEL
110111
# supports 'tar', 'lz4', 'bzip2', 'gzip', 'sz', 'xz'
111-
compression_format: lz4 # S3_COMPRESSION_FORMAT
112+
compression_format: gzip # S3_COMPRESSION_FORMAT
112113
```
113114
114115
## ATTENTION!
@@ -168,4 +169,4 @@ Use https://healthchecks.io for monitoring creating and uploading of backups.
168169
- uri: url="https://hc-ping.com/{{ healthchecksio_clickhouse_upload_id }}"
169170
rescue:
170171
- uri: url="https://hc-ping.com/{{ healthchecksio_clickhouse_upload_id }}/fail"
171-
```
172+
```

docker_push.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ echo "${DOCKER_PASSWORD}" | docker login -u alexakulov --password-stdin
55
docker push "alexakulov/clickhouse-backup:master"
66

77
if [ "$1" == "release" ]; then
8-
docker tag "alexakulov/clickhouse-backup:latest" "alexakulov/clickhouse-backup:${TRAVIS_TAG//v}"
8+
docker tag "alexakulov/clickhouse-backup:master" "alexakulov/clickhouse-backup:${TRAVIS_TAG//v}"
9+
docker tag "alexakulov/clickhouse-backup:master" "alexakulov/clickhouse-backup:latest"
910
docker push "alexakulov/clickhouse-backup:${TRAVIS_TAG//v}"
11+
docker push "alexakulov/clickhouse-backup:latest"
1012
fi

0 commit comments

Comments
 (0)