From 5dbde17fb095e4a37a51936f142b31f312e02cc6 Mon Sep 17 00:00:00 2001 From: logaritmisk Date: Sat, 23 May 2026 12:56:43 +0000 Subject: [PATCH] feat: composite action wrapping docker/setup-buildx-action --- action.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..cdd849c --- /dev/null +++ b/action.yml @@ -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 }}