File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 36
36
dist : trusty
37
37
env : DOCKER_BUILD="true"
38
38
if : branch == master AND tag IS blank
39
- script : docker build --build-arg githubToken="$GITHUB_TOKEN" --build-arg codeServerVersion="$VERSION" --build-arg vscodeVersion="$VSCODE_VERSION" -t codercom/code-server:"$VERSION " -t codercom/code-server:v2 .
39
+ 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 .
40
40
41
41
git :
42
42
depth : 3
@@ -65,14 +65,15 @@ deploy:
65
65
branch : master
66
66
67
67
- provider : script
68
+ skip_cleanup : true
68
69
script :
69
70
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin hub.docker.com
70
71
- docker push codercom/code-server:"$VERSION"
71
72
- docker push codercom/code-server:v2
72
73
on :
73
74
repo : cdr/code-server
74
75
branch : master
75
- condition : -n "$DOCKER_BUILD"
76
+ condition : " $DOCKER_BUILD"
76
77
77
78
cache :
78
79
yarn : true
You can’t perform that action at this time.
0 commit comments