Skip to content
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

docker build image error - invalid reference format #2

Open
v-dev opened this issue Oct 16, 2019 · 0 comments
Open

docker build image error - invalid reference format #2

v-dev opened this issue Oct 16, 2019 · 0 comments

Comments

@v-dev
Copy link

v-dev commented Oct 16, 2019

For the "Create and Run an Image in a Pipeline" section, I got the following error when copying/pasting your alpine-curl.yml into my bitbucket repo:

Preparing build
Building image: {afcae2ee-5b9b-48ba-94b3-79b470f14678}/codefresh-hello:master using unique hash: f4a7cb5f70c04a00e41c888fcdb39a87b4f6e61f
problem connecting to 'https://index.docker.io/v1/'
invalid argument "r.cfcr.io/vdev/{afcae2ee-5b9b-48ba-94b3-79b470f14678}/codefresh-hello:f4a7cb5f70c04a00e41c888fcdb39a87b4f6e61f" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
[SYSTEM] 
 Message             Failed to build image:                                                                             
                     r.cfcr.io/vdev/{afcae2ee-5b9b-48ba-94b3-79b470f14678}/codefresh-hello:f4a7cb5f70c04a00e41c888fcdb… 
 Caused by           Container for step title: Building Docker Image, step type: build, operation: Building image.
                     Failed with exit code: 125
 Documentation Link  https://codefresh.io/docs/docs/codefresh-yaml/steps/build-1/
 Exit code           125
 Name                NonZeroExitCodeError

I removed the ${{CF_REPO_OWNER}} reference from the yml and then the build was successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant