From 234c7424f033000467ea489b10ab5d003a1f7f8f Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Tue, 26 Jan 2021 16:09:44 -0500 Subject: [PATCH] Use Datalad token to set up Docker Machine --- .github/workflows/build-macos.yaml | 2 +- .github/workflows/template/build-{{ostype}}.yaml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-macos.yaml b/.github/workflows/build-macos.yaml index eb139677e7..cc4b318250 100644 --- a/.github/workflows/build-macos.yaml +++ b/.github/workflows/build-macos.yaml @@ -347,7 +347,7 @@ jobs: if [ "${{ matrix.version }}" != "release" ]; then # coreutils provides a readlink that supports `-f` brew install coreutils docker docker-machine - docker-machine --github-api-token="${{ secrets.GITHUB_TOKEN }}" create --driver virtualbox default + docker-machine --github-api-token="${{ secrets.DATALAD_GITHUB_TOKEN }}" create --driver virtualbox default eval "$(docker-machine env default)" export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" curl -fSsL \ diff --git a/.github/workflows/template/build-{{ostype}}.yaml.j2 b/.github/workflows/template/build-{{ostype}}.yaml.j2 index 126ffdc19e..0dba436a97 100644 --- a/.github/workflows/template/build-{{ostype}}.yaml.j2 +++ b/.github/workflows/template/build-{{ostype}}.yaml.j2 @@ -519,7 +519,7 @@ jobs: {% if ostype == "macos" %} # coreutils provides a readlink that supports `-f` brew install coreutils docker docker-machine - docker-machine --github-api-token="${{ secrets.GITHUB_TOKEN }}" create --driver virtualbox default + docker-machine --github-api-token="${{ secrets.DATALAD_GITHUB_TOKEN }}" create --driver virtualbox default eval "$(docker-machine env default)" export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" {% endif %}