Skip to main content

alpha.dagger.io/aws/ecr

Amazon Elastic Container Registry (ECR)

import "alpha.dagger.io/aws/ecr"

ecr.#Credentials

Convert ECR credentials to Docker Login format

ecr.#Credentials Inputs

NameTypeDescription
config.regionstringAWS region
config.accessKeydagger.#SecretAWS access key
config.secretKeydagger.#SecretAWS secret key
config.localMode*false \| boolAWS localstack mode
ctr.image.config.regionstringAWS region
ctr.image.config.accessKeydagger.#SecretAWS access key
ctr.image.config.secretKeydagger.#SecretAWS secret key
ctr.image.config.localMode*false \| boolAWS localstack mode
ctr.image.version*"1.19" \| string-

ecr.#Credentials Outputs

NameTypeDescription
username"AWS"ECR registry
secretstringECR registry secret