Closed alexpilotti closed 5 years ago
Hi,
I'm sincerely sorry for the very long wait, things have been a bit hectic on this end.
Thanks a lot for your contribution.
Did you test the image from this PR? I'm trying to decide which amount of testing I should do before merging this :)
I changed the implementation and added auth support (of some kind), so I'll close this. Thanks for the help anyhow :)
Uses https://github.com/jessfraz/reg to delete the manifests instead of curl since it already supports authentication, including Docker registry v2 token authentication.
The optional REGISTRY_USERNAME and REGISTRY_PASSWORD environment variables have been added.
CURL_INSECURE is still accepted for backwards compatibility.
The reg binary needs to be in the PATH.