Better Support for AWS Profiles

Create issue
Issue #12 new
Former user created an issue

There isn't a great way to set an environment variable from a Gradle build file. So, relying on AWS_PROFILE is a bit tricky. It would be better if we were able to configure the plugin with its own extension section. Something along the lines of

awsEcr {
  profile "staging"
  // or if you want to combine it with support for multiple repos...
  profiles = [
    dev: '1111111.dkr.ecr.us-east-1.amazonaws.com/devRepo'
    staging: '222222.dkr.ecr.us-east-1.amazonaws.com/stgRepo'
  ]
}

Comments (0)

  1. Log in to comment