Still using the wrong tag for Docker
This commit is contained in:
parent
53818b0e36
commit
42f7b5d12b
@ -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
|
||||||
|
Reference in New Issue
Block a user