From d0a08f6dd77398efdfb1b5218592132d377cf8a2 Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 17 Sep 2019 13:42:14 -0500 Subject: [PATCH] Pass GITHUB_TOKEN through to Docker build Also, back to drafts. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 26187eb9..f8f40036 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"