diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-08-03 09:56:20 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-08-03 10:01:27 +0200 |
commit | fd85ffb2053267297f7a777a936946aaee7b77c6 (patch) | |
tree | c94bfd349a532ce798220531a1dafa4bebebec20 /docker/smoke/hooks/build | |
parent | 0160f156d74cd811f139cc01d1dd69f1c972ec5d (diff) |
Switch to Docker post_checkout hooks
Automated builds work when Dockerfile is modified after checkout.
Otherwise they are not triggered [1].
[1] https://github.com/docker/hub-feedback/issues/518
Change-Id: I6ba9e06f9e62011d2f1c1788f2647b1175842ef3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/smoke/hooks/build')
-rw-r--r-- | docker/smoke/hooks/build | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/docker/smoke/hooks/build b/docker/smoke/hooks/build deleted file mode 100644 index e5d15b526..000000000 --- a/docker/smoke/hooks/build +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -from="${DOCKER_REPO%/*}/functest-core" -sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile && - docker build -t "${IMAGE_NAME}" . - -exit $? |