-
Notifications
You must be signed in to change notification settings - Fork 545
multiple tags using -t --tag not working #799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What driver are you using when you see this? |
first i tried the native driver that was installed with docker. then stumbled upon this #459 (comment) stating to try moby/buildkit:v0.8.0 and it still didn't work. its strange because logs report on manifest creation and merge and states both tags. still for some reason only one tag is showing. this was my workaround in the mean while:
this helped immensely understanding what exactly is going under the hood: |
Are you using two nodes like #459 ? #459 seems to be an error but there is no comments about what the error is about. The default case of this seems to work fine so there is something special about your conditions.
|
yes i am using two separate nodes the main docker daemon is arm and the second docker daemon is amd64 NAME/NODE DRIVER/ENDPOINT STATUS PLATFORMS
farm docker-container
farm0 unix:///var/run/docker.sock running linux/arm64, linux/arm/v7, linux/arm/v6
farm1 ssh://[email protected] running linux/amd64, linux/386
mybuilder * docker-container
mybuilder0 unix:///var/run/docker.sock running linux/arm64, linux/arm/v7, linux/arm/v6
mybuilder1 ssh://[email protected] running linux/amd64, linux/386
default docker
default default running linux/arm64, linux/arm/v7, linux/arm/v6 it says that it is merging the digests to a manifest but perhaps it is failing to associate the manifest to both the tags and it is associating to only one of them? |
having this issue as well. neither |
Hey,
using github.com/docker/buildx v0.6.3 266c0ea
can't seem to multiple tag a buildx build. i must result to either using --amend. or getting manifest digests from inspecting the manifest and creating a new one using digests.
i have a build farm with a amd64 instance and arm64.
the command is:
docker buildx build --pull \
--label GIT_REVISION={git_rev} \
--platform {platforms} \
--tag {image_tag} \
-f {path_to_base_docker_file} \
--push {path_to_temp_folder} \
--tag {latest_tag_string}
the command doesn't fail but endpoint/repo:v1 is there on dockerhub but endpoint/repo:latest is not.
regards, Lior.
The text was updated successfully, but these errors were encountered: