Possible to directly transfer container image between registries for two apps?

If we have a .toml file for different environments e.g., fly.dev.toml, fly.test.toml, fly.stage.toml, fly.prod.toml, etc. is there an efficient way to promote a version of a container/machine/OCI image between apps?

E.g., If I want to prepare a promotion of v1.2.3 of my app from test to prod, is there some command I can run like flyctl image remote-pull registry.fly.io/my-app-test:v1.2.3 -c fly.prod.toml ?

Is there some way to both copy the image to the target app-environment’s registry and initiate a machine deploy/rollout in a single command? E.g., flyctl deploy --remote-image registry.fly.io/my-app-test:v1.2.3 -c fly.prod.toml?

Any way to e.g., establish trust/authorization between the app-registries or do we currently have to bounce through the machine that runs the command(s) (e.g., by first pulling from the source into local docker images using a source token, then retagging, then pushing from local images to the target using a target token)?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.