2019-07-11 17:08:43 +02:00
2019-07-11 17:05:09 +02:00
2019-07-11 16:54:00 +02:00
2019-07-11 17:08:43 +02:00
2019-07-11 16:58:18 +02:00

Trigger script for docker builds

This script is able to trigger a rebuild of your docker images on Docker Hub. You need to create a trigger, extract two uuids and put them in a confguration file.

Configuration

Place config file in trigger.d/<service>.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.

Usage

You can now trigger a rebuild of your images with:

./trigger <service> <tag|all>

Example:

./trigger dummy latest
./trigger dummy all
Description
Bash script to trigger rebuilds of docker images.
Readme 76 KiB
Languages
Shell 100%