From f11777426afc6c35cc052b3fd4e19ef2cfa81ff8 Mon Sep 17 00:00:00 2001 From: saeid_01 Date: Tue, 22 Aug 2023 11:54:35 +0330 Subject: [PATCH] fix --- .drone.yml | 10 ++++------ docker-compose.yml | 21 --------------------- 2 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 docker-compose.yml diff --git a/.drone.yml b/.drone.yml index 0dc5bb65..321785c2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,13 +8,12 @@ clone: # npm config set _auth token add command steps: - name: clone - image: docker.willaspace.com/repository/docker-hosted/alpine/git + image: docker-proxy.willaspace.com/alpine/git commands: - git clone $DRONE_GIT_HTTP_URL . - git checkout $DRONE_COMMIT - name: Build docker image - image: plugins/docker - mirror: https://docker.willaspace.com/repository/docker-hosted/ + image: docker-proxy.willaspace.com/plugins/docker environment: REGISTRY_USER_NAME: from_secret: registry_username @@ -41,8 +40,7 @@ steps: - push - name: Build docker nginx image - image: plugins/docker - mirror: https://docker.willaspace.com/repository/docker-hosted/ + image: docker-proxy.willaspace.com/plugins/docker settings: tags: - nginx-latest @@ -61,7 +59,7 @@ steps: - push - name: deploy - image: docker.willaspace.com/repository/docker-hosted/pelotech/drone-helm3:latest + image: docker-proxy.willaspace.com/pelotech/drone-helm3:latest environment: USERNAME: from_secret: registry_username diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 44330d0b..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: '2' - -services: - - app: - container_name: cssd - image: registry.willaspace.com/willaspace/cssd - #build: - # context: ./ - volumes: - - /home/administrator/apps/nginx/www/cssd/storage:/var/www/storage - - /home/administrator/apps/nginx/www/cssd/public:/var/www/public - env_file: '.env' - environment: - - "DB_HOST=mysql_database" - - "REDIS_HOST=cache" - -networks: - default: - external: - name: willaengine_default