diff --git a/.travis.yml b/.travis.yml index ea68e3a5..8b9b003f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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