The release v0.6.0 includes breaking changes caused by renaming and removing some CLI arguments. Please check the guideline below to see how to migrate your scripts.
Replace --destination-repo
, --tag
and --additional-tags
with --images
BEFORE:
aws-ecr-client --destination-repo XXXXXX.dkr.ecr.eu-central-1.amazonaws.com/alpine \
--tag test
AFTER:
aws-ecr-client --images XXXXXX.dkr.ecr.eu-central-1.amazonaws.com/alpine:test
Replace --destination-repo
, --tag
and --additional-tags
with --images
(space separated)
BEFORE:
aws-ecr-client --destination-repo XXXXXX.dkr.ecr.eu-central-1.amazonaws.com/alpine \
--tag test \
--additional-tags "foo bar"
AFTER:
aws-ecr-client --images "XXXXXX.dkr.ecr.eu-central-1.amazonaws.com/alpine:test XXXXXX.dkr.ecr.eu-central-1.amazonaws.com/alpine:foo XXXXXX.dkr.ecr.eu-central-1.amazonaws.com/alpine:bar"
Replace --stage-repo
with stage-ecr-repo
BEFORE:
aws-ecr-client --destination-repo XXXXXX.dkr.ecr.eu-central-1.amazonaws.com/alpine \
--tag test \
--stage-repo XXXXXX.dkr.ecr.eu-central-1.amazonaws.com/alpine-stage
AFTER:
aws-ecr-client --images XXXXXX.dkr.ecr.eu-central-1.amazonaws.com/alpine:test \
--stage-ecr-repo XXXXXX.dkr.ecr.eu-central-1.amazonaws.com/alpine-stage