Skip to content

Commit f2ffc04

Browse files
add -a switch to push all tags per docker/cli#2220 (#330)
1 parent 87a6bb1 commit f2ffc04

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/ci_upload_packages.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ if [[ $TRAVIS_OS_NAME == "linux" ]]; then
66

77
# push docker images to dockerhub
88
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USER" --password-stdin
9-
# if you dont specify the tag, it'll push all image versions
10-
docker push optimizely/agent
9+
# if you dont specify the tag, it'll push all image versions --> No longer the default
10+
# https://docs.docker.com/engine/release-notes/#20100
11+
# Add -a/--all-tags to docker push docker/cli#2220
12+
docker push -a optimizely/agent
1113

1214
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
1315
echo "we're on osx"

0 commit comments

Comments
 (0)