075b5bb77b
Upstream docker/setup-buildx-action@v3 warns that the install input is deprecated; recommend BUILDX_BUILDER env var instead.
26 lines
764 B
YAML
26 lines
764 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'
|
|
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 }}
|
|
version: ${{ inputs.version }}
|