feat: composite action wrapping docker/setup-buildx-action

This commit is contained in:
2026-05-23 12:56:43 +00:00
parent dc0d22c3c6
commit 5dbde17fb0
+30
View File
@@ -0,0 +1,30 @@
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 }}