Compare commits

..

3 Commits
1.0.0 ... 1.0.1

Author SHA1 Message Date
Joxit
8055baa951 Release v1.0.1: fix DELETE_IMAGES #67 2019-01-16 21:26:40 +01:00
Jones Magloire
53557b2591 Merge pull request #67 from bluethon/master
fix - DELETE_IMAGES
2019-01-15 22:30:48 +01:00
bluethon
ea79fd621f fix - DELETE_IMAGES 2019-01-15 22:29:23 +01:00
3 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ This web user interface uses [Riot](https://github.com/Riot/riot) the react-like
## [GitHub Page](https://joxit.github.io/docker-registry-ui) and [Live Demo](https://joxit.github.io/docker-registry-ui/demo/)
![preview](https://raw.github.com/Joxit/docker-registry-ui/master/docker-registry-ui.gif "Screenshot of Docker Registry UI")
![preview](https://raw.github.com/Joxit/docker-registry-ui/master/docker-registry-ui.gif "Preview of Docker Registry UI")
## Features

View File

@@ -3,16 +3,16 @@ $@
sed -i "s,\${URL},${URL}," scripts/docker-registry-ui.js
sed -i "s,\${REGISTRY_TITLE},${REGISTRY_TITLE}," scripts/docker-registry-ui.js
if [ -z "${DELETE_IMAGES}" ] || [ "${DELETE_IMAGES}" = false ] ; then
sed -i "s/registryUI.isImageRemoveActivated *= *[^,;]*/registryUI.isImageRemoveActivated=false/" scripts/docker-registry-ui.js
if [[ -z "${DELETE_IMAGES}" ]] || [[ "${DELETE_IMAGES}" = false ]] ; then
sed -i -r "s/(isImageRemoveActivated[:=])[^,;]*/\1false/" scripts/docker-registry-ui.js
fi
if [ -n "${REGISTRY_URL}" ] ; then
if [[ -n "${REGISTRY_URL}" ]] ; then
sed -i "s,\${REGISTRY_URL},${REGISTRY_URL}," /etc/nginx/conf.d/default.conf
sed -i "s,#!,," /etc/nginx/conf.d/default.conf
fi
if [ -z "$@" ]; then
if [[ -z "$@" ]]; then
nginx -g "daemon off;"
else
$@

View File

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