Still using the wrong tag for Docker

This commit is contained in:
Asher 2019-09-17 15:25:17 -05:00
parent 53818b0e36
commit 42f7b5d12b
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -36,7 +36,7 @@ jobs:
dist: trusty
env: DOCKER_BUILD="true"
if: branch == master AND tag IS blank
script: docker build --build-arg githubToken="$GITHUB_TOKEN" --build-arg codeServerVersion="$VERSION" --build-arg vscodeVersion="$VSCODE_VERSION" -t codercom/code-server:"TAG" -t codercom/code-server:v2 .
script: docker build --build-arg githubToken="$GITHUB_TOKEN" --build-arg codeServerVersion="$VERSION" --build-arg vscodeVersion="$VSCODE_VERSION" -t codercom/code-server:"$TAG" -t codercom/code-server:v2 .
git:
depth: 3
@ -67,7 +67,7 @@ deploy:
- provider: script
skip_cleanup: true
script: docker push codercom/code-server:"$VERSION" ; docker push codercom/code-server:v2
script: docker push codercom/code-server:"$TAG" ; docker push codercom/code-server:v2
on:
repo: cdr/code-server
branch: master