trying to fix the tag for the streamline image
This commit is contained in:
parent
677012a145
commit
de713ac8fc
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue