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 %}