trying to fix the tag for the streamline image

This commit is contained in:
Carter 2025-06-11 13:55:18 -06:00
parent 677012a145
commit de713ac8fc

View file

@ -379,9 +379,10 @@ build:streamline:
before_script:
- docker login -u ${CI_REGISTRY_USER} -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
script:
- 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:streamline
- docker push ${CI_REGISTRY}/brandx/bxt-app/production:${CI_COMMIT_SHA}
- docker build -t ${CI_REGISTRY}/brandx/bxt-app/streamline:${CI_COMMIT_SHA} .
- docker tag ${CI_REGISTRY}/brandx/bxt-app/streamline:${CI_COMMIT_SHA} ${CI_REGISTRY}/brandx/bxt-app/production:streamline
- docker push ${CI_REGISTRY}/brandx/bxt-app/streamline:${CI_COMMIT_SHA}
- docker push ${CI_REGISTRY}/brandx/bxt-app/streamline:latest
deploy:streamline:
image: docker:20.10.21
@ -389,7 +390,7 @@ deploy:streamline:
variables:
DOCKER_DRIVER: overlay2
DOCKER_HOST: ssh://deploy@streamline.adaptiveagriculture.ca
DEPLOY_IMAGE: ${CI_REGISTRY}/brandx/bxt-app/streamline:latest
DEPLOY_IMAGE: ${CI_REGISTRY}/brandx/bxt-app/streamline:${CI_COMMIT_SHA}
DEPLOY_TARGET: deploy@streamline.adaptiveagriculture.ca
only:
- streamline