aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantinos Smanis <konstantinos.smanis@gmail.com>2021-02-13 09:52:59 +0200
committerAlexys Jacob <ultrabug@gentoo.org>2021-02-13 18:51:04 +0100
commite1e38c349155fb9c9110620414db0255aa1ea13f (patch)
tree1889fa924558456f3f3cf7e58f06a7afcbd5b4d2
parentRevert "Add debug statement to restore credentials" (diff)
downloaddocker-images-e1e38c349155fb9c9110620414db0255aa1ea13f.tar.gz
docker-images-e1e38c349155fb9c9110620414db0255aa1ea13f.tar.bz2
docker-images-e1e38c349155fb9c9110620414db0255aa1ea13f.zip
Push all built tags
Up until now, the build was relying on an undocumented--but well established--"feature" of the docker push command, namely the fact that if no tag was specified, all built tags would be pushed. This was recently changed [1], requiring the `--all-tags` flag to emulate the previous behavior. [1] https://github.com/moby/moby/pull/40302 Signed-off-by: Konstantinos Smanis <konstantinos.smanis@gmail.com> Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
-rwxr-xr-xdeploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index 48d3b0f..8aa89a8 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -9,7 +9,7 @@ fi
IFS=- read -r NAME ARCH SUFFIX <<< "${TARGET}"
# Push built images
-docker push "${ORG}/${NAME}"
+docker push --all-tags "${ORG}/${NAME}"
if [[ "${TARGET}" != stage* ]]; then
echo "Done! No manifests to push for TARGET=${TARGET}."