From 2b9c85c65de03bdcce5e907963cda1b5ba877107 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Thu, 18 Apr 2019 18:05:40 +0200 Subject: [PATCH] Fix docker build parameter when using named files --- 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 71806be..7fd2670 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 Dockerfile.supervisord -docker build -t index.docker.io/$CI_REGISTRY_IMAGE:staging-cron 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