Pushing Container Images Built on RWX

This is the reference documentation for pushing images. See the guide on building container images for high-level concepts and see the reference docs on building images.

CLI

Use the RWX CLI to push images. You can use it locally or from within an RWX run.

In either case, you'll need to be authenticated into the registry that you want to push to. You'll also need the ID of the RWX task that you want to push. See the guide for a full example.

rwx push the-task-id --to the-remote-image-tag

For example, if the ID of the task is bf3c1467e60eb5601ef2a43b840a0d96 and you want to push the image to 123456789012.dkr.ecr.us-east-2.amazonaws.com/your_repository:your_tag, you would run:

rwx push bf3c1467e60eb5601ef2a43b840a0d96 \
  --to 123456789012.dkr.ecr.us-east-2.amazonaws.com/your_repository:your_tag

You can also push to multiple tags at once.

rwx push bf3c1467e60eb5601ef2a43b840a0d96 \
  --to 123456789012.dkr.ecr.us-east-2.amazonaws.com/your_repository:your_tag \
  --to 123456789012.dkr.ecr.us-east-2.amazonaws.com/your_repository:your_other_tag

Execution

The local machine that initiates the rwx push does not download or upload any data. To achieve fast performance, the actual push happens via an RWX run.

Blocking

By default, the CLI will block and wait for the push to complete. If you do not want to block and wait, pass the --no-wait option to the CLI.

Open

If you're initiating the push from your local machine and want to watch the progress in your browser, pass the --open option.

Full Example of Pushing within RWX

See the example in the guide.