mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
feat: add oci image index support (#1533)
This commit is contained in:
parent
87c5695e84
commit
14b235a542
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ func GetDigest(url string, token string) (string, error) {
|
|||
req.Header.Add("Accept", "application/vnd.docker.distribution.manifest.v2+json")
|
||||
req.Header.Add("Accept", "application/vnd.docker.distribution.manifest.list.v2+json")
|
||||
req.Header.Add("Accept", "application/vnd.docker.distribution.manifest.v1+json")
|
||||
req.Header.Add("Accept", "application/vnd.oci.image.index.v1+json")
|
||||
|
||||
logrus.WithField("url", url).Debug("Doing a HEAD request to fetch a digest")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue