diff --git a/.dockerignore b/.dockerignore index 8f004c6..82cbdf1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -40,6 +40,3 @@ dist/ # Systemd systemd - -# Docker files -docker diff --git a/docker/hooks/build b/docker/hooks/build index 578d0bd..1727f7a 100644 --- a/docker/hooks/build +++ b/docker/hooks/build @@ -1,3 +1,6 @@ #!/bin/bash +# Docker cloud bug ?, working directory is not set acording to the config +cd .. + docker build --build-arg BRANCH=${SOURCE_BRANCH} --build-arg COMMIT=${SOURCE_COMMIT} -f ${DOCKERFILE_PATH} -t ${IMAGE_NAME} .