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
|
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 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:
|
git:
|
||||||
depth: 3
|
depth: 3
|
||||||
@ -50,7 +50,7 @@ before_deploy:
|
|||||||
deploy:
|
deploy:
|
||||||
- provider: releases
|
- provider: releases
|
||||||
file_glob: true
|
file_glob: true
|
||||||
prerelease: true
|
draft: true
|
||||||
tag_name: "$TAG"
|
tag_name: "$TAG"
|
||||||
target_commitish: "$TRAVIS_COMMIT"
|
target_commitish: "$TRAVIS_COMMIT"
|
||||||
name: "$TAG"
|
name: "$TAG"
|
||||||
|
Reference in New Issue
Block a user