From 875a45f2b80e04be6a894c8e9a37a61b08fdbb5c Mon Sep 17 00:00:00 2001 From: mifi Date: Mon, 8 May 2023 16:18:00 -0400 Subject: [PATCH] Perchance to dream... --- .drone.yml | 6 +++--- docker-compose.staging.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index bf7268f..be9f158 100644 --- a/.drone.yml +++ b/.drone.yml @@ -79,10 +79,10 @@ steps: - yarn install - yarn build - name: Publish NPM - image: node:latest + image: node:20-alpine failure: ignore commands: - - yarn npm publish + - yarn publish -t ${DRONE_TAG:-latest} volumes: - name: npmrc path: /drone/grow/.npmrc @@ -119,7 +119,7 @@ steps: image: docker commands: # - 'docker login git.mifi.dev' - - 'docker build -t git.mifi.dev/mifi/mifi/auth:latest -t git.mifi.dev/mifi/mifi/auth:${DRONE_TAG} .' + - 'docker build -t git.mifi.dev/mifi/auth:latest -t git.mifi.dev/mifi/auth:${DRONE_TAG} .' - docker push git.mifi.dev/mifi/mifi/auth:latest volumes: - name: dockersock diff --git a/docker-compose.staging.yml b/docker-compose.staging.yml index 96c30ea..03458f8 100644 --- a/docker-compose.staging.yml +++ b/docker-compose.staging.yml @@ -17,7 +17,7 @@ services: build: . container_name: ${CONTAINER_PREFIX}-auth-service environment: - - DB_HOST=${CONTAINER_PREFIX:-mifi}-auth-service_mongo + - DB_HOST=${CONTAINER_PREFIX}-auth-service_mongo labels: - 'traefik.enable=true' - 'traefik.http.routers.grow.rule=Host(`${HOST}`) && Path(`${ROUTE_PREFIX}`)'