From e1e38c349155fb9c9110620414db0255aa1ea13f Mon Sep 17 00:00:00 2001 From: Konstantinos Smanis Date: Sat, 13 Feb 2021 09:52:59 +0200 Subject: 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 Signed-off-by: Alexys Jacob --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}." -- cgit v1.2.3-65-gdbad