diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-10-02 13:12:40 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-10-02 13:13:25 +0200 |
commit | 29647efa114151d53ede5ba2d989593992c0b29f (patch) | |
tree | 4f3095c58ae7acf81846dafaf4ecb469346e8072 /docker/healthcheck | |
parent | 36b648a6e928ac0819a607cd2231faa803418b7a (diff) |
Add ${DOCKER_TAG} in Docker hooks
It eases creating Docker images based on branches or tags.
Change-Id: Id84513c53cad72a1fcd0debf06579481609b8bc2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/healthcheck')
-rw-r--r-- | docker/healthcheck/hooks/post_checkout | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/healthcheck/hooks/post_checkout b/docker/healthcheck/hooks/post_checkout index 20a6d4b9..8d0e9812 100644 --- a/docker/healthcheck/hooks/post_checkout +++ b/docker/healthcheck/hooks/post_checkout @@ -1,6 +1,6 @@ #!/bin/bash -from="${DOCKER_REPO%/*}/functest-core" +from="${DOCKER_REPO%/*}/functest-core:${DOCKER_TAG}" sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile exit $? |