Comments (2)
Hey @mattbasta,
I've tried this on my end similar to your job:
version: 2.1
orbs:
aws-cli: circleci/[email protected]
jobs:
- aws-ecr/build_and_push_image:
auth:
- aws-cli/setup:
role_arn: arn:aws:iam::122211685980:role/CPE_ECR_OIDC_TEST
role_session_name: Test-aws-cli-4.1.2
repo: aws-ecr-orb-${CIRCLE_SHA1:0:7}-build-test-then-push-with-buildx
create_repo: true
context: [CPE-OIDC]
dockerfile: sample/Dockerfile
platform: linux/arm64
I am able to log in successfully in this job:
![image](https://private-user-images.githubusercontent.com/64455338/299593119-ddc1f7c1-ec31-4422-8252-2ade62e579d8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc2MDg4OTksIm5iZiI6MTcxNzYwODU5OSwicGF0aCI6Ii82NDQ1NTMzOC8yOTk1OTMxMTktZGRjMWY3YzEtZWMzMS00NDIyLTgyNTItMmFkZTYyZTU3OWQ4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjA1VDE3Mjk1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU2MDA4YWY4ZTJkMjk4ODU0NTUxM2Q5OGZmZmM2MDE5NDZiNTU5YWNiNjNiOGNiMDViNzFjNTU4NmNlOGZmNTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.18y_DfHXJatGyQc6ra1gEdPff9bbnZt_-HR8MgmYBeY)
Can you give me some more details about your job so we can debug this further?
from aws-ecr-orb.
Hey @brivu, our config is quite large and has lots of details. I'm not sure that I have a more minimal version handy. I can provide the policy on the role if that would be helpful?
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 3
- 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.
- 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 3
- 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.