I have a bitbucket-pipeline based on python 3.6.9 which according to
docker --version
provides
docker: Docker version 19.03.15, build 99e3ed8
however this version of docker does not have the option for push --all-tags.
docker push --help
Usage: docker push [OPTIONS] NAME[:TAG]
Push an image or a repository to a registry
Options:
--disable-content-trust Skip image signing (default true)
so this fails
docker push --all-tags 1234.dkr.ecr.us-west-2.amazonaws.com/repo-name
Pushing to ECR: repo-name:2.20.2
unknown flag: --all-tags
See 'docker push --help'.
However the --all-tags flag was introduced before docker version 10, so how is this possible? Is the only option to use the "pipe: atlassian/aws-ecr-push-image" or to push each tag separately?
Can I install an publically available version of docker?