From 33e8e0f8af6222eb13336ce3700bc363ba33c9b5 Mon Sep 17 00:00:00 2001 From: hoellen Date: Thu, 11 Jul 2019 16:54:00 +0200 Subject: [PATCH] inital commit --- .gitignore | 2 ++ README.md | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ec97ce0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +trigger.d/*.conf +!trigger.d/dummmy.conf diff --git a/README.md b/README.md new file mode 100644 index 0000000..ee0b3a5 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Trigger script for docker builds + +This script is able to trigger a rebuild of your docker images on [Docker Hub](https://hub.docker/com/). You need to create a trigger, extract two uuids and put them in a confguration file. + +### Configuration +Place config file in `trigger.d/.conf` with the following content. + +``` +REPO=ec8cfbee-3fb2-462e-bbde-7a327e3072da +TOKEN=a58a35f0-0a69-483e-b93f-b1850a184aca +TAGS=(latest tag1 tag2 ...) +``` +The information about the token uuids can you get on your build configuration site on [Docker Hub](https://hub.docker.com/). + +### Usage +You can now trigger a rebuild of your images with: +``` +./trigger dummy latest +``` +or +``` +./trigger dummy all +```