Skip to content

Commit d0a08f6

Browse files
committed
Pass GITHUB_TOKEN through to Docker build
Also, back to drafts.
1 parent 7b5d6d1 commit d0a08f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
dist: trusty
3737
env: DOCKER_BUILD="true"
3838
if: branch == master AND tag IS blank
39-
script: docker build --build-arg codeServerVersion="$VERSION" --build-arg vscodeVersion="$VSCODE_VERSION" -t codercom/code-server:"$VERSION" -t codercom/code-server:v2 .
39+
script: docker build -e GITHUB_TOKEN="$GITHUB_TOKEN" --build-arg codeServerVersion="$VERSION" --build-arg vscodeVersion="$VSCODE_VERSION" -t codercom/code-server:"$VERSION" -t codercom/code-server:v2 .
4040

4141
git:
4242
depth: 3
@@ -50,7 +50,7 @@ before_deploy:
5050
deploy:
5151
- provider: releases
5252
file_glob: true
53-
prerelease: true
53+
draft: true
5454
tag_name: "$TAG"
5555
target_commitish: "$TRAVIS_COMMIT"
5656
name: "$TAG"

0 commit comments

Comments
 (0)