Register deployed artifact metadata from your GitHub Actions workflow to CloudBees Unify to track artifact deployments across environments. Use deployment data to enable DORA metrics, environment inventory tracking, and deployment analytics for artifacts deployed through GHA workflows.
This action is available on the GitHub Marketplace.
This action uses GitHub OIDC authentication to securely communicate with CloudBees Unify.
Be sure to set permissions to id-token: write in your workflow.
|
For more information about working with artifacts in CloudBees Unify, refer to Manage workflow artifacts.
Inputs
| Input name | Data type | Required? | Description |
|---|---|---|---|
|
String |
No |
URL of the CloudBees Unify API.
Defaults to |
|
String |
Yes |
Deployment environment. You must create the environment in CloudBees Unify before using it in this action. |
|
String |
No |
Comma-separated labels for this deployment. |
|
String |
No |
ID of the artifact, generated by the |
|
String |
No |
URL of the deployed artifact.
Either this or |
Usage examples
The following is a basic example of using the action:
permissions: id-token: write contents: read steps: - name: register-deployment-step uses: cloudbees-io-gha/register-deployed-artifact@v1 with: target-environment: pre-prod labels: v1.0.0, rc1 artifact-id: 87ace777-ab20-4867-ac3f-ad5c28f46a29
The following example uses the artifact URL instead of the artifact ID: