commit 1bb56cb0b54422d108950f5b783da492f410ce85 Author: ci Date: Sat Sep 5 16:41:25 2026 +0000 Published from yuki-talos action/build-image diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..b95ad71 --- /dev/null +++ b/action.yml @@ -0,0 +1,34 @@ +# ══════════════════════════════════════════════════════════════════ +# BREAKING CHANGE? BUMP THE MAJOR IN cue/cluster/cluster.cue +# ══════════════════════════════════════════════════════════════════ +# Everything pinning `@v1` gets this the moment it publishes. A change +# a consumer cannot absorb needs a new major, or it breaks them. +# ══════════════════════════════════════════════════════════════════ + +name: build-image +description: Build the repository's Dockerfile and push it to this forge, writing the digest for the deploy step. + +inputs: + name: + description: Image name under the owner. Defaults to the repository name. + required: false + context: + description: Build context directory. + required: false + default: . + dockerfile: + description: Path to the Dockerfile. Defaults to /Dockerfile. + required: false + +outputs: + image: + description: The image just pushed, as name@sha256:digest. Pass it to the deploy step. + +runs: + using: docker + image: docker://gitea.512.dev/ci/toolbox@sha256:b854a995771816ba81a49656d246aab6c2688fe4a3490be6edc81487baa5f1cb + entrypoint: /usr/local/lib/actions/build-image.sh + env: + PLUGIN_NAME: ${{ inputs.name }} + PLUGIN_CONTEXT: ${{ inputs.context }} + PLUGIN_DOCKERFILE: ${{ inputs.dockerfile }}