gemaraproj/Publish Gemara OCI bundle

Assemble a root Gemara YAML into an OCI bundle, push to a registry, sign/verify, and optionally promote to a second registry. Uses go-gemara bundle SDK internally. Boolean flags use the strings "true" / "false".

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 8, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: gemaraproj/gemara-publish-action@db4f45f004fdbc02646ccad19d65d4043126baeb # v0.1.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
registryRegistry host (e.g. ghcr.io)noghcr.io
repositoryRepository path without registry (e.g. org/gemara/my-bundle)yes
tagTag to pushyes
fileRoot Gemara artifact YAML (Policy, Catalog, or Guidance), relative to working_directoryyes
usernameRegistry userno""
passwordRegistry tokenyes
validateRun gemara.Load schema validation and cue vet against the authoritative Gemara CUE schemas before assemble.notrue
bundle_versionBundle format versionno1
working_directoryWorking directory (relative to repo root) for resolving the file inputno.
oras_versionORAS CLI version (no v prefix)no1.2.0
sign_sourceKeyless-sign source digest after publishnotrue
verify_sourceVerify source digest signature after sign/publishnotrue
promote_to_destinationCopy artifact from the source registry to destination_* (second registry). Use any OCI registry.nofalse
destination_registryPromotion destination registry host (e.g. quay.io, ghcr.io, *.dkr.ecr.*.amazonaws.com). Required when promote_to_destination is true.no""
destination_repositoryPromotion image path without registry host (namespace/repository).no""
destination_tagDestination tag when promoting (defaults to source tag input when empty).no""
destination_usernameCredentials for destination registry (promotion push).no""
destination_passwordToken/password for destination registry (promotion).no""
trust_modecopy-only, copy-referrers, or resign destinationnoresign
sign_destinationKeyless-sign destination digest (usually true for trust_mode=resign)notrue
verify_destinationVerify destination digest signaturenotrue
allowed_identity_regexOptional regex for certificate identity in cosign verifyno""
cosign_versionCosign release versionnov2.4.0
cosign_certificate_oidc_issuerExpected OIDC issuer for keyless cosign verify (override for non-GitHub Actions signing environments).nohttps://token.actions.githubusercontent.com
namedescription
digestSource manifest digest (sha256:...)
source_refPublished source reference with digest
source_digestPublished source digest
destination_refDestination reference with digest after promotion
destination_digestDestination digest after promotion
trust_modeEffective trust mode used for destination handling
verified_sourcetrue when source verification step passed
verified_destinationtrue when destination verification step passed