commit: e1e38c349155fb9c9110620414db0255aa1ea13f Author: Konstantinos Smanis <konstantinos.smanis <AT> gmail <DOT> com> AuthorDate: Sat Feb 13 07:52:59 2021 +0000 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org> CommitDate: Sat Feb 13 17:51:04 2021 +0000 URL: https://gitweb.gentoo.org/proj/docker-images.git/commit/?id=e1e38c34
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 <AT> gmail.com> Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org> 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}."