fix: UI showing same sha256 content digest for all tags when using credentials

resolves #116
This commit is contained in:
Joxit 2020-01-26 12:25:56 +01:00
parent 531f9400a0
commit e3d592ac65
No known key found for this signature in database
GPG key ID: F526592B8E012263
7 changed files with 7 additions and 6 deletions

View file

@ -25,4 +25,5 @@
- Giovanni Toraldo [@gionn](https://github.com/gionn)
- [@marcusblake](https://github.com/marcusblake)
- Dario [@pidario](https://github.com/pidario)
- Jernej K. [Cvetk0](https://github.com/Cvetk0)
- Jernej K. [@Cvetk0](https://github.com/Cvetk0)
- Cristian Posoiu [@cr1st1p](https://github.com/cr1st1p)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -18,6 +18,7 @@ services:
- REGISTRY_HTTP_HEADERS_Access-Control-Allow-Credentials=['true']
- REGISTRY_AUTH_HTPASSWD_REALM=basic-realm
- REGISTRY_AUTH_HTPASSWD_PATH=/etc/docker/registry/htpasswd
- REGISTRY_STORAGE_DELETE_ENABLED=true
networks:
- registry-ui-net
container_name: registry-srv

View file

@ -20,8 +20,6 @@ services:
- REGISTRY_TITLE=Private Docker Registry
- REGISTRY_URL=http://registry-srv:5000
- DELETE_IMAGES=true
depends_on:
- debugproxy
networks:
- registry-ui-net
container_name: registry-ui

View file

@ -1,6 +1,6 @@
{
"name": "docker-registry-ui",
"version": "1.4.3",
"version": "1.4.4",
"scripts": {
"build": "./node_modules/gulp/bin/gulp.js build"
},

View file

@ -65,6 +65,7 @@ Http.prototype.addEventListener = function(e, f) {
req.withCredentials = true;
req.hasHeader = Http.hasHeader;
req.getErrorMessage = Http.getErrorMessage;
self.oReq = req;
req.send();
} else {
f.bind(this)();