We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b30a31f commit c0704baCopy full SHA for c0704ba
.travis.yml
@@ -24,11 +24,18 @@ install:
24
script:
25
- docker run --rm "lgatica/redis-sentinel:$PATCH_VERSION" redis-cli -v
26
27
-after_success:
+before_deploy:
28
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
29
- docker tag "lgatica/redis-sentinel:$PATCH_VERSION" "lgatica/redis-sentinel:$MINOR_VERSION"
30
- docker tag "lgatica/redis-sentinel:$PATCH_VERSION" "lgatica/redis-sentinel:$MAJOR_VERSION"
31
- if [ "$LATEST" == "latest" ]; then
32
docker tag "lgatica/redis-sentinel:$PATCH_VERSION" "lgatica/redis-sentinel:latest";
33
fi
34
- docker push lgatica/redis-sentinel
35
+
36
+deploy:
37
+ provider: script
38
+ script: docker push lgatica/redis-sentinel
39
+ skip_cleanup: true
40
+ on:
41
+ branch: master
0 commit comments