1
0
Fork 0
mirror of https://github.com/docker/setup-buildx-action.git synced 2025-05-08 07:29:30 +02:00

pass the token input through on GHES

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-01-28 02:45:17 +01:00
parent a8165e7b70
commit d0d9a72195
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 38 additions and 3 deletions

View file

@ -45,9 +45,14 @@ inputs:
description: 'Append additional nodes to the builder'
required: false
github_token:
description: 'The GitHub token used to create an authenticated client for GitHub API'
default: ${{ github.token }}
required: false
# https://github.com/actions/setup-go/blob/21459d0b7b1d63741429b748885bf5a4974593b4/action.yml#L12-L14
description: >
Used to verifiy the Git tag exists on docker/buildx repo. Since there's a
default, this is typically not supplied by the user. When running this
action on github.com, the default value is sufficient. When running on
GHES, you can pass a personal access token for github.com if you are
experiencing rate limiting.
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
outputs:
name: