codeship / codeship-tool-examples

Examples to get you started using Codeship Pro. Download the local CLI to follow along with these examples locally.
http://bit.ly/codeship-jet-tool
MIT License
52 stars 31 forks source link

You can't have both image and dockerfile specified #41

Closed markphelps closed 6 years ago

GeorgeMac commented 6 years ago

Why not? Doesn't image in the case of a present Dockerfile, just mean the tagged name of the image once built from the Dockerfile?

i.e. docker build -t some-name -f some.Dockerfile .

UPDATE: or is that only supported beneath the build: key?

markphelps commented 6 years ago

After talking with @GeorgeMac he is correct, you aren't allowed to have an image and dockerfile only beneath a build key