From 23f834ccdb9b15862b6157d20f2ae082b589aae9 Mon Sep 17 00:00:00 2001 From: Carter Date: Wed, 9 Oct 2024 15:11:23 -0600 Subject: [PATCH] using bxt-app registry instead of frontend --- .gitlab-ci.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c4eb170..d2a2cba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,9 +69,9 @@ build:production: before_script: - docker login -u ${CI_REGISTRY_USER} -p ${CI_JOB_TOKEN} ${CI_REGISTRY} script: - - docker build -t ${CI_REGISTRY}/brandx/frontend/production:${CI_COMMIT_SHA} . - - docker tag ${CI_REGISTRY}/brandx/frontend/production:${CI_COMMIT_SHA} ${CI_REGISTRY}/brandx/frontend/production:latest - - docker push ${CI_REGISTRY}/brandx/frontend/production + - docker build -t ${CI_REGISTRY}/brandx/bxt-app/production:${CI_COMMIT_SHA} . + - docker tag ${CI_REGISTRY}/brandx/bxt-app/production:${CI_COMMIT_SHA} ${CI_REGISTRY}/brandx/bxt-app/production:latest + - docker push ${CI_REGISTRY}/brandx/bxt-app/production deploy:production: image: docker:20.10.21 @@ -79,7 +79,7 @@ deploy:production: variables: DOCKER_DRIVER: overlay2 DOCKER_HOST: ssh://deploy@bxt-prod01.brandxtech.ca - DEPLOY_IMAGE: ${CI_REGISTRY}/brandx/frontend/production:latest + DEPLOY_IMAGE: ${CI_REGISTRY}/brandx/bxt-app/production:latest DEPLOY_TARGET: deploy@bxt-prod01.brandxtech.ca only: - master @@ -155,7 +155,7 @@ build:base: - dependencies:staging variables: DOCKER_DRIVER: overlay2 - PROJECT: brandx/frontend + PROJECT: brandx/bxt-app DOCKER_TLS_CERTDIR: "" services: - docker:20.10.21-dind @@ -185,16 +185,16 @@ build:staging: before_script: - docker login -u ${CI_REGISTRY_USER} -p ${CI_JOB_TOKEN} ${CI_REGISTRY} script: - - docker build -t ${CI_REGISTRY}/brandx/frontend/production:${CI_COMMIT_SHA} . - - docker tag ${CI_REGISTRY}/brandx/frontend/production:${CI_COMMIT_SHA} ${CI_REGISTRY}/brandx/frontend/production:staging - - docker push ${CI_REGISTRY}/brandx/frontend/production:staging + - docker build -t ${CI_REGISTRY}/brandx/bxt-app/production:${CI_COMMIT_SHA} . + - docker tag ${CI_REGISTRY}/brandx/bxt-app/production:${CI_COMMIT_SHA} ${CI_REGISTRY}/brandx/bxt-app/production:staging + - docker push ${CI_REGISTRY}/brandx/bxt-app/production:staging staging:deploy: image: docker:20.10.21 stage: staging variables: DOCKER_DRIVER: overlay2 - DEPLOY_IMAGE: ${CI_REGISTRY}/brandx/frontend/production:staging + DEPLOY_IMAGE: ${CI_REGISTRY}/brandx/bxt-app/production:staging DOCKER_HOST: ssh://deploy@staging.brandxtech.ca DEPLOY_TARGET: deploy@staging.brandxtech.ca only: @@ -279,16 +279,16 @@ build:development: before_script: - docker login -u ${CI_REGISTRY_USER} -p ${CI_JOB_TOKEN} ${CI_REGISTRY} script: - - docker build -t ${CI_REGISTRY}/brandx/frontend/production:${CI_COMMIT_SHA} . - - docker tag ${CI_REGISTRY}/brandx/frontend/production:${CI_COMMIT_SHA} ${CI_REGISTRY}/brandx/frontend/production:development - - docker push ${CI_REGISTRY}/brandx/frontend/production:development + - docker build -t ${CI_REGISTRY}/brandx/bxt-app/production:${CI_COMMIT_SHA} . + - docker tag ${CI_REGISTRY}/brandx/bxt-app/production:${CI_COMMIT_SHA} ${CI_REGISTRY}/brandx/bxt-app/production:development + - docker push ${CI_REGISTRY}/brandx/bxt-app/production:development deploy:development: image: docker:20.10.21 stage: deploy variables: DOCKER_DRIVER: overlay2 - DEPLOY_IMAGE: ${CI_REGISTRY}/brandx/frontend/production:development + DEPLOY_IMAGE: ${CI_REGISTRY}/brandx/bxt-app/production:development DOCKER_HOST: ssh://deploy@bxt-dev.adaptiveagriculture.ca DEPLOY_TARGET: deploy@bxt-dev.adaptiveagriculture.ca only: