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
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ deploy:
- provider: script
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:
repo: cdr/code-server
branch: master