{
  "name": "publish-artifact",
  "title": "Publish a build artifact",
  "category": "CI/CD",
  "tags": [
    "ci-cd",
    "curl"
  ],
  "version": "1.0.0",
  "date": "2026-07-17",
  "notes": "Initial release.",
  "latest": false,
  "installable": false,
  "url": "https://catalog.dagweave.com/api/v1/items/publish-artifact/1.0.0.json",
  "entrypoint": "publish",
  "parameters": [
    {
      "name": "file-path",
      "title": "File path",
      "description": "Path to the file to upload (in the run's filesystem / mounted volume).",
      "type": "string",
      "required": true,
      "example": "/workspace/dist/app-1.2.3.tgz"
    },
    {
      "name": "registry-url",
      "title": "Registry URL",
      "description": "Destination URL to PUT the artifact to.",
      "type": "string",
      "required": true,
      "example": "https://artifacts.internal/repo/app-1.2.3.tgz"
    },
    {
      "name": "credentials-secret-key",
      "title": "Credentials secret key",
      "description": "Key within the Secret that holds the credentials.",
      "type": "string",
      "required": false,
      "default": "credentials"
    },
    {
      "name": "credentials-secret-name",
      "title": "Credentials secret name",
      "description": "Name of the Kubernetes Secret holding the registry credentials, formatted as \"user:password\".",
      "type": "string",
      "required": false,
      "default": "artifact-registry-credentials"
    }
  ],
  "images": [
    {
      "ref": "curlimages/curl@sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93",
      "repository": "curlimages/curl",
      "tag": "8.23.0",
      "digest": "sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/publish-artifact",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
