26 lines
1.4 KiB
YAML
26 lines
1.4 KiB
YAML
# ══════════════════════════════════════════════════════════════════
|
|
# 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: pin-digest
|
|
description: Open a pull request moving every action's pinned toolbox digest to a newly built image.
|
|
|
|
inputs:
|
|
image:
|
|
description: The image to pin, as name@sha256:digest. Pass build-image's `image` output.
|
|
required: true
|
|
|
|
runs:
|
|
using: docker
|
|
|
|
# By digest, like every other action. This one runs in the image it is about
|
|
# to replace, which is what makes it work at all.
|
|
image: docker://gitea.512.dev/ci/toolbox@sha256:88ed6a0562f98a35b02d0c13254d0b69b343675ac98709451d526a9c58782e40
|
|
|
|
entrypoint: /usr/local/lib/actions/pin-digest.sh
|
|
env:
|
|
PLUGIN_IMAGE: ${{ inputs.image }}
|