Comments (5)
The issue it still exist even 6.2.0 version.
If "AWS_ACCESS_KEY_ID" is defined in the environment variables but another variable name defined in the job "FANCY_AWS_ACCESS_KEY_ID_1"
- Build and push image:
repo_name: myRepo
aws_account: "22222222222222"
aws_access_key: FANCY_AWS_ACCESS_KEY_ID_1
It will use "AWS_ACCESS_KEY_ID" from the variables rather then "FANCY_AWS_ACCESS_KEY_ID_1" , same for secret key.
I made it work only removing the default one "AWS_ACCESS_KEY_ID" from env variables and always using customs name for aws variables.
from aws-ecr-orb.
I have experienced same kind of problem, too.
I reported this issue to one of CircleCI support team member and I got message from him that he would create ticket on their BTS, so dev team might investigate on this issue.
Hope I could get reply from him, but I am not sure if dev team would really work on this issue.
from aws-ecr-orb.
so, what is the specific ask here ? you should already be able to simply pass in different environment variable names to these parameters
from aws-ecr-orb.
I am sorry, I didn't realize that this is fixed.
The status of this issue is still open so that the behavior mentioned on this issue is same as I have experienced on my orb project.
I got message from CircleCI support team, and the solution they suggested is exactly same as what is done in this orb.
from aws-ecr-orb.
Closing this as seems API has changed since reporting, and aws-access-key-id
and aws-secret-access-key
will be properly used if overriden from default env var names.
from aws-ecr-orb.
Related Issues (20)
- ORB_EVAL_REPO parameter no longer evaluated with eval in version 9.0.0
- Error Thrown: existing instance for "DLC_builder" but no append mode HOT 4
- Profile name not set when calling aws ecr put-lifecycle-policy
- extra_build_args: No Support for Docker Options that contain spaces (Example: --build-arg BUILD_DATE=$(date +%F)) HOT 2
- Add profile support for tag_image step.
- Error when upgrading to the aws-cli orb 4.1.2 HOT 2
- AWS ECR Credential Helper HOT 1
- Documentation inconsistency for circleci/[email protected] HOT 2
- Only the first --build-arg is passed to Docker build in v9.0.2 HOT 2
- Image indexes are pushed even when only one platform is specified HOT 10
- Expressions no longer evaluated? HOT 1
- Similar bug to https://github.com/CircleCI-Public/aws-ecs-orb/issues/206 HOT 2
- Image created is of type Image Index HOT 3
- All image builds broken until new release occurs HOT 9
- Cannot login to multiple ECRs with version 9.0.3 HOT 1
- `no basic auth credentials` on push_image step HOT 4
- E: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file. HOT 2
- Regression: cannot use AWS credentials in Dockerfile HOT 1
- Allow accessing registry of different account (--registry-id)
- Error when running `aws-ecr/build-image` on Alpine HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-ecr-orb.