diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69b58b6e9c052341d28d331d2b2383c36184e76a..37aaa5ad7fac3ae692334b73adf6e3cab20b888a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,7 @@ lint:shell-script: build:master: stage: deploy script: - - docker build --pull -t "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:latest" ./Dockerfile + - docker build --pull -t "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:latest" ./context/ - docker push "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:latest" only: - master @@ -43,7 +43,7 @@ build:master: build:dev: stage: deploy script: - - docker build --pull -t "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:dev" ./Dockerfile + - docker build --pull -t "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:dev" ./context/ - docker push "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:dev" except: - master diff --git a/Dockerfile b/context/Dockerfile similarity index 100% rename from Dockerfile rename to context/Dockerfile