When using a docker repository like described in:
https://docs.docker.com/registry/deploying/
e.g:
docker run -d -p 5000:5000 --restart=always --name registry \
-vpwd/certs:/certs \
-e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt \
-e REGISTRY_HTTP_TLS_KEY=/certs/domain.key \
registry:2
and than using:
REPOSITORY="registry.example:5000/sentry" make build push
the makefile exits with
Makefile:11: *** target pattern contains no '%'. Stop.
Oh, that's not great. :( I'll try and get this fixed up today. Thanks for reporting!
looks like this is still an issue
Yeah, it definitely is. I haven't had time to address this yet and hasn't been a priority since it's easy to work around just by simply not using the Makefile.
There's a work around for this, you can do:
REPOSITORY="registry.example\:5000/sentry"
make build push
Just backslash the troublesome characters.
It would also be better to replace your repository in the Makefile so you won't have to deal with this everytime, on my own fork I replaced the first line (REPOSITORY?=...) to REPOSITORY?="some-machine\:5000/sentry-onpremise then just use make build push
This looks like an easy fix for whoever wants to submit a pull request :)
We've deprecated and removed the Makefile so closing this issue as it is wontfix.
Most helpful comment
Oh, that's not great. :( I'll try and get this fixed up today. Thanks for reporting!