We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
This is by design. The recommended way to do this would be something like this:
version: 3 vars: IMAGE: my/image GIT_VERSION: latest tasks: release: vars: OS: linux ARCH: amd64 arm64 TARGET: "{{.IMAGE}}:{{.GIT_VERSION}}" cmds: - for: { var: ARCH } task: release-arch vars: OS: "{{.OS}}" ARCH: "{{.ITEM}}" TARGET: "{{.TARGET}}" release-arch: internal: true # optional cmds: - docker manifest create {{.TARGET}} {{.TARGET}}-{{.OS}}-{{.ARCH}} - docker manifest annotate {{.TAGET}} {{.TARGET}}-{{.OS}}-{{.ARCH}} --os {{.OS}} --arch {{.ARCH}}
This results in:
❯ task -d ./tmp/1599 --dry release task: [release-arch] docker manifest create my/image:latest my/image:latest-linux-amd64 task: [release-arch] docker manifest annotate my/image:latest-linux-amd64 --os linux --arch amd64 task: [release-arch] docker manifest create my/image:latest my/image:latest-linux-arm64 task: [release-arch] docker manifest annotate my/image:latest-linux-arm64 --os linux --arch arm64
if you wanted the release task for each arch to run in parallel, you can also swap cmds for deps in the release task.
cmds
deps
release
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: