Published from yuki-talos action/build-image

This commit is contained in:
ci
2026-09-05 16:41:25 +00:00
commit 1bb56cb0b5
+34
View File
@@ -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 <context>/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 }}