diff options
author | Konstantinos Smanis <konstantinos.smanis@gmail.com> | 2021-02-13 09:52:59 +0200 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2021-02-13 18:51:04 +0100 |
commit | e1e38c349155fb9c9110620414db0255aa1ea13f (patch) | |
tree | 1889fa924558456f3f3cf7e58f06a7afcbd5b4d2 | |
parent | Revert "Add debug statement to restore credentials" (diff) | |
download | docker-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-x | deploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}." |