Skip to content

relizaio/rearm-add-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

rearm-add-release

About

This action, uses the Rearm CLI to submit the release and xBOM metadata to a ReARM instance. This action should always be used after the rearm-get-version action.

Usage

Submit Release metadata:

steps:
- uses: relizaio/rearm-add-release@1.2
  with:
    rearm_api_id: <api-id-obtained-from-rearmhub>
    rearm_api_key: <api-key-obtained-from-rearmhub>
    image_full_name: <registry/owner/image>
    image_digest: <api-key-obtained-from-rearmhub>
    rearm_full_version: <version obtained on get-version step>
    rearm_build_start: <build start time recorded on get-version step>
    rearm_build_status: <complete|rejected>

Inputs

The actions supports the following inputs:

  • rearm_api_id: The component API ID obtained from Rearm.
  • rearm_api_key: The component API Key obtained from Rearm.
  • image_full_name: Full name of the Docker image with registry prefix
  • image_name: Name of the image
  • image_digest: SHA 256 digest of the image artifact
  • rearm_full_version: Version obtained from Rearm for this release
  • rearm_short_version: Docker and filesystem safe version from Rearm for this release
  • rearm_build_start: Build start time
  • rearm_build_status: Build status - complete - if build succeded, rejected - if build failed
  • rearm_api_url: Rearm Hub API URL. Default is https://demo.rearmhq.com. (Optional)
  • deliverable_type: Type of artifact created by this release [Docker, File] (Optional)
  • commit_list: List of commits (Optional)
  • rearm_component_id: Component UUID for this release if org-wide key is used (Optional)
  • enable_sbom: Enables SBOM generation using cdxgen (Optional)
  • source_code_sbom_type: Generates SBOM based on source code analysis, possible values: npm, helm, custom, other, none. Use custom to follow Dockerfile.sbom with expected output in /sbom/sbom.json. (Optional)
  • registry_username: Username for the image registry. (Optional - needed for sbom generation)
  • registry_password: Password for the image registry. (Optional - needed for sbom generation)
  • registry_host: Image registry host. (Optional - needed for sbom generation)
  • path: Path to the relative to root of the repo (default is '.'). (Optional - needed for sbom generation)
  • send_sce_data: Sends Source Code entry data along with the release, required for SCE SBOMs. Default is true. (Optional)
  • last_commit: Last registered commit (Optional)
  • enable_public_cosign_sigstore: Sign deliverables and SBOMs using public sigstore via cosign. Default is false. (Optional)
  • enable_codeql: Enable CodeQL analysis. Default is false. (Optional)
  • codeql_language: Language to analyze with CodeQL, use custom to follow Dockerfile.sarif with expected output in /sarif/results.sarif. (Optional)
  • enable_securesbom: Enable SecureSBOM signing of SBOMs by ShiftLeftCyber. Default is false. (Optional)
  • securesbom_pub_key_id: Public key id to sign with SecureSBOM by ShiftLeftCyber (Optional)
  • securesbom_host: SecureSBOM (by ShiftLeftCyber) host (Optional)
  • securesbom_api_key: SecureSBOM (by ShiftLeftCyber) API key (Optional)
  • finalize_release: Finalize the release after adding it (true/false). Default is true. (Optional)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •