Archived
1
0

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 dist: trusty
env: DOCKER_BUILD="true" env: DOCKER_BUILD="true"
if: branch == master AND tag IS blank 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: git:
depth: 3 depth: 3
@ -67,7 +67,7 @@ deploy:
- provider: script - provider: script
skip_cleanup: true 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: on:
repo: cdr/code-server repo: cdr/code-server
branch: master branch: master