-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to specify a target image to build #36
Comments
wouldn't you just use the |
I'm planning to do that just now, it means adding in an additional docker build step (w/ target image specified) prior to I was just wondering if the ability to specify a target |
well, this should help you w/ the i guess i'm not sure what you mean by 'target build' ? the idea here is that your 'target' is your ECR account url + your repo name + your tag, i believe |
under the hood, all it's doing is this : https://github.com/CircleCI-Public/aws-ecr-orb/blob/master/src/commands/build-image.yml#L41-L45 |
Right. All I was wondering was whether that command could be amended to
|
ahh, i see. you should already be able to do that by passing |
Great, thanks for confirming. Update |
Orb version
6.0.0
What happened
I'm trying to call the
build-and-push-image
job, but was wondering whether I can pass in a target image for the build step?Expected behavior
Essentially I’m using a multi-stage build in my Dockerfile, where the last image contains all of the test code. I would like to push the previous image to ECR, but can’t see how to do this using the
build-and-push-image
job.Would it be possible to specify a target image?
The text was updated successfully, but these errors were encountered: