Skip to content

docker-suite/hub-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hub-updater

Build Status Docker Pulls Docker Stars MicroBadger Layers (tag) MicroBadger Size (tag) License: MIT dockeri.co

Update docker hub full description.

Environment variables

Env Variable Description
DOCKER_USERNAME Docker-hub user name used to login
DOCKER_PASSWORD Docker-hub user password used to login
DOCKER_IMAGE Name of the docker image to update
(example: dsuite/hub-updater)
README_FILE Path to the readme.md file to update to docker hub
(default: /data/README.md)

How to use it

    DOCKER_USERNAME="myUserName" 
    DOCKER_PASSWORD="myUserPassword" 
    DOCKER_IMAGE="dsuite/hub-updater" 
    README_FILE="/data/README.md" 

	docker run -t --rm \
		-e DOCKER_USERNAME=${DOCKER_USERNAME} \
		-e DOCKER_PASSWORD=${DOCKER_PASSWORD} \
		-e DOCKER_IMAGE=${DOCKER_IMAGE} \
		-e README_FILE=${README_FILE} \
		-v /path/to/folder:/data \
		dsuite/hub-updater