Comments (2)
Looks like in your orb definition, you have nowhere to specify working_directory
(so it use the default value .
and workspace-root
has to be .
, otherwise it will complain it cannot find the file).
However, I also realized for some images (e.g. circleci/openjdk:11.0-jdk
) you cannot setup working_directory
to be .
. Otherwise it will fail the checkout
step with the error
Directory (.) you are trying to checkout to is not empty and not git repository
https://circleci.com/gh/gitenter/gitenter/398
from aws-ecr-orb.
i think you may be misunderstanding how persist_to_workspace
works @ozooxo
https://circleci.com/docs/2.0/configuration-reference/#persist_to_workspace
the root
& path
parameters tell our system what files you want to save to your workspace. thus, those paths will need to exist.
the error you saw originally is not because of anything in the orb codeโit's because you have some kind of path issue & the dockerfile you're trying to build w/ the ecr orb is not at the path where you're telling it to look for it. have you tried rerunning your job with ssh so you can determine where the dockerfile is?
also, i would recommend against setting working_directory
to anything in /tmp
from aws-ecr-orb.
Related Issues (20)
- build_extra_arg adds extra single quotes HOT 1
- 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.
- 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 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)
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.