call tag-add and tag-remove pluginhooks

This commit is contained in:
Michael Hobbs
2015-06-10 18:10:48 -07:00
parent 04a4da7fc5
commit 5be7641f87
2 changed files with 38 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ case "$1" in
tag_image "$IMAGE:latest" "$IMAGE:$TAG"
dokku_log_info2_quiet "Added $TAG tag to $IMAGE"
pluginhook tag-add $APP $TAG
;;
tag:deploy)
@@ -45,6 +46,7 @@ case "$1" in
docker rmi "$IMAGE:$TAG"
;;
esac
pluginhook tag-remove $APP $TAG
;;
help | tag:help)