This directory contains Docker Hub Automated Build hooks. This is needed since we publish multiple images as part of a single build:
- argoproj/workflow-controller:latest
- argoproj/argoexec:latest
- argoproj/argocli:latest
It relies the DOCKER_REPO and DOCKER_TAG environment variables that are set by Docker Hub during the build.
Hooks can be tested using:
DOCKER_REPO=index.docker.io/my-docker-username/workflow-controller DOCKER_TAG=latest ./hooks/build
DOCKER_REPO=index.docker.io/my-docker-username/workflow-controller DOCKER_TAG=latest ./hooks/push