Use this action to report environment artifact-related data to the workflow run for artifact traceability purposes.
All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
An environment or target-environment input value is required for action to work.
|
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
Yes |
The name of the artifact to send to the CloudBees platformfor artifact traceability purposes. |
|
String |
Yes |
The version of the artifact to send to the CloudBees platform for artifact traceability purposes. |
|
String |
Yes |
The URL where the artifact version is located. For example, docker.io/myapp/myimg:1.0.0. |
|
String |
No |
The artifact digest that uniquely identifies the artifact. |
|
String |
No |
The environment where the deployment occurred. A |
Usage example
In your YAML file, add:
jobs: register_artifact_version_to_env: environment: test_env steps: - name: Register_deployed_artifact uses: cloudbees-io/register-deployed-artifact@v1 with: name: "testRegisterArtifact" version: "1.0.0" url: "docker.io/myapp/mytestimg:1.0.0" digest: "" target-environment: ""