Image Push Failing

The image in codeship-services.yml has to match the image_name in codeship-steps.yml, like in the following example:

- type: serial
    - name: dockerhub_push
      service: demo
      type: push
      image_name: something/test-repo
      dockercfg_path: dockercfg

Note that our image_name here is something/test-repo. This is the name of the image in codeship-services.yml:

    image: something/test-repo
    dockerfile_path: Dockerfile

Find out more about these two files in steps configuration and services configuration.

Need More Help?

Get in touch if you need more help, or post on Stack Overflow using the tag #Codeship.