Files
setup-buildx/action.yml
T

31 lines
927 B
YAML

name: setup-buildx
description: |
Wrapper around docker/setup-buildx-action that defaults to the in-cluster
buildkit service running in the gitea namespace of the aceofbase cluster.
Lets workflow authors skip the boilerplate of pointing setup-buildx at a
remote driver.
inputs:
endpoint:
description: 'BuildKit TCP endpoint. Defaults to the in-cluster service.'
required: false
default: 'tcp://buildkit.gitea.svc.cluster.local:1234'
install:
description: 'Set up docker build as alias to docker buildx build.'
required: false
default: 'false'
version:
description: 'buildx version to install (passed through).'
required: false
default: 'latest'
runs:
using: composite
steps:
- uses: docker/setup-buildx-action@v3
with:
driver: remote
endpoint: ${{ inputs.endpoint }}
install: ${{ inputs.install }}
version: ${{ inputs.version }}