mirror of https://github.com/coder/code-server.git
Pass GITHUB_TOKEN through to Docker build
Also, back to drafts.
This commit is contained in:
parent
7b5d6d186b
commit
d0a08f6dd7
|
@ -36,7 +36,7 @@ jobs:
|
|||
dist: trusty
|
||||
env: DOCKER_BUILD="true"
|
||||
if: branch == master AND tag IS blank
|
||||
script: docker build --build-arg codeServerVersion="$VERSION" --build-arg vscodeVersion="$VSCODE_VERSION" -t codercom/code-server:"$VERSION" -t codercom/code-server:v2 .
|
||||
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 .
|
||||
|
||||
git:
|
||||
depth: 3
|
||||
|
@ -50,7 +50,7 @@ before_deploy:
|
|||
deploy:
|
||||
- provider: releases
|
||||
file_glob: true
|
||||
prerelease: true
|
||||
draft: true
|
||||
tag_name: "$TAG"
|
||||
target_commitish: "$TRAVIS_COMMIT"
|
||||
name: "$TAG"
|
||||
|
|
Loading…
Reference in New Issue