Published from yuki-talos action/pin-digest
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
|||||||
|
# ══════════════════════════════════════════════════════════════════
|
||||||
|
# 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:b854a995771816ba81a49656d246aab6c2688fe4a3490be6edc81487baa5f1cb
|
||||||
|
|
||||||
|
entrypoint: /usr/local/lib/actions/pin-digest.sh
|
||||||
|
env:
|
||||||
|
PLUGIN_IMAGE: ${{ inputs.image }}
|
||||||
Reference in New Issue
Block a user