From d56cb13d7f84261afcec806233cdd3bbca04079e Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Thu, 18 Apr 2019 18:07:57 +0200 Subject: [PATCH] Build with the current path helps --- utils/publish/feature--cron-or-supervisord.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/publish/feature--cron-or-supervisord.sh b/utils/publish/feature--cron-or-supervisord.sh index 7fd2670..7785594 100755 --- a/utils/publish/feature--cron-or-supervisord.sh +++ b/utils/publish/feature--cron-or-supervisord.sh @@ -26,7 +26,7 @@ fi echo $CI_REGISTRY_BOT_PASSWORD | docker login -u $CI_REGISTRY_BOT_USERNAME docker.io --password-stdin # Build and push as staging. -docker build -t index.docker.io/$CI_REGISTRY_IMAGE:staging-supervisord -f Dockerfile.supervisord -docker build -t index.docker.io/$CI_REGISTRY_IMAGE:staging-cron -f Dockerfile.cron +docker build -t index.docker.io/$CI_REGISTRY_IMAGE:staging-supervisord -f Dockerfile.supervisord . +docker build -t index.docker.io/$CI_REGISTRY_IMAGE:staging-cron -f Dockerfile.cron . docker push index.docker.io/$CI_REGISTRY_IMAGE:staging-supervisord docker push index.docker.io/$CI_REGISTRY_IMAGE:staging-cron \ No newline at end of file