#11 Removed unecessary env vars form pipeline
This commit is contained in:
parent
e5308ecda2
commit
5776bcb73f
@ -2,8 +2,6 @@ variables:
|
||||
APPSECRET: "test"
|
||||
ENVIRON: "test"
|
||||
FILESTORE: "static/assets/img/products/"
|
||||
DOCKER_HOST: tcp://docker:2375/
|
||||
DOCKER_DRIVER: overlay2
|
||||
|
||||
pytest:
|
||||
stage: test
|
||||
@ -24,7 +22,7 @@ deploy:
|
||||
alias: docker
|
||||
script:
|
||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
- docker build -t $CI_REGISTRY_IMAGE$CI_COMMIT_SHORT_SHA .
|
||||
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA .
|
||||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
|
||||
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA $CI_REGISTRY_IMAGE:latest
|
||||
- docker push $CI_REGISTRY_IMAGE:latest
|
Loading…
Reference in New Issue
Block a user