Skip to content

Commit

Permalink
Merge pull request #25 from sudo-bmitch/pr-manifest-put-digest
Browse files Browse the repository at this point in the history
Include the docker digest header on manifest put
  • Loading branch information
sudo-bmitch committed Dec 19, 2023
2 parents 86e81a8 + 67941ef commit d4e08f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ func (s *server) manifestPut(repoStr, arg string) http.HandlerFunc {
return
}
w.Header().Set("location", loc)
w.Header().Add("Docker-Content-Digest", d.String())
w.WriteHeader(http.StatusCreated)
}
}
Expand Down

0 comments on commit d4e08f6

Please sign in to comment.