Skip to content

The action is used to inform CloudBees Platform of a deployed artifact version

License

Notifications You must be signed in to change notification settings

cloudbees-io/register-deployed-artifact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CloudBees action: Register an artifact deployed to an environment

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

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 e.g. docker.io/myapp/myimg:1.0.0.

digest

String

No

The artifact digest that uniquely identifies the artifact.

target-environment

String

Yes

The environment where the deployment occurred. A target-environment value overrides the job environment value.

Usage example

In your YAML file, add:

 jobs:
    register_artifact_version_to_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: "test_env"

License

This code is made available under the MIT license.

References

About

The action is used to inform CloudBees Platform of a deployed artifact version

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •