Skip to content
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

Multiple targets #250

Open
cdenneen opened this issue Dec 22, 2023 · 1 comment
Open

Multiple targets #250

cdenneen opened this issue Dec 22, 2023 · 1 comment

Comments

@cdenneen
Copy link

Can the --target parameter be specified multiple times? accept multiple targets?

I am looking to build multi-arch image with specific tag but also would like option to push :latest as well at the same time?

@cdenneen
Copy link
Author

cdenneen commented Jan 5, 2024

I'm building with:

$ ./manifest-tool --username "${CI_REGISTRY_USER}" --password "${CI_REGISTRY_PASSWORD}" push from-args --platforms linux/amd64,linux/arm64 --template ${IMAGE_NAME}-ARCH:${DOCKER_TAG} --tags ${DOCKER_TAG},latest --target ${IMAGE_NAME}:${DOCKER_TAG}

but it seems that even though I'm "tagging with the tag and latest" it's only pushing one with the tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant