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
  steps:
    - name: dockerhub_push
      service: demo
      type: push
      image_name: something/test-repo
      registry: https://index.docker.io/v1/
      dockercfg_path: dockercfg

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

demo:
  build:
    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.