Don't push latest and v2 Docker tags automatically

We should only push those when the version is confirmed to work.
This commit is contained in:
Asher 2020-01-08 15:04:58 -06:00
parent 1959d82912
commit 1087037728
No known key found for this signature in database
GPG key ID: D63C1EF81242354A

View file

@ -61,7 +61,7 @@ deploy:
- provider: script - provider: script
skip_cleanup: true skip_cleanup: true
script: docker build -f ./scripts/ci.dockerfile -t codercom/code-server:"$TAG" -t codercom/code-server:v2 -t codercom/code-server . && docker push codercom/code-server:"$TAG" && docker push codercom/code-server:v2 && docker push codercom/code-server script: docker build -f ./scripts/ci.dockerfile -t codercom/code-server:"$TAG" . && docker push codercom/code-server:"$TAG"
on: on:
repo: cdr/code-server repo: cdr/code-server
branch: master branch: master