CloudBees action: Register a build artifact

1 minute read

Use this action to report build artifact-related data to the workflow run for artifact traceability purposes.

All CloudBees action repositories are listed at CloudBees, Inc. on GitHub.

Inputs

Table 1. Input details
Input name Data type Required? Description

name

String

Yes

The name of the artifact to send to the CloudBees platform for artifact traceability purposes.

version

String

Yes

The version of the artifact to send to the CloudBees platform for artifact traceability purposes.

url

String

Yes

The URL where the artifact version is located. For example, docker.io/myapp/myimg:1.0.0.

digest

String

No

The artifact digest that uniquely identifies the artifact.

Usage example

In your YAML file, add:

jobs: register_build_artifact: uses: cloudbees-io/register-build-artifact@v1 with: name: "myApp" version: "1.0.0" url: "docker.io/myapp/myimg:1.0.0" digest: ""