Using aptible deploy

In the example below, $DOCKER_IMAGE is the name of the image you’d like to deploy, including its repository and tag. In other words, it should be the same argument you’d pass to docker run, docker pull, or docker push.

As for $APP_HANDLE, it’s the name of the app you’d like to deploy to.

aptible deploy --app "$APP_HANDLE" \
        --docker-image "$DOCKER_IMAGE"

After you’ve deployed using aptible deploy, if you update your image, or would like to deploy a different image, just use aptible deploy again (if your Docker image’s name hasn’t changed, you don’t even need to pass the --docker-image argument again).