{
  "name": "git-tag",
  "title": "Tag a ref and push the tag",
  "description": "Create an annotated git tag at a ref and push it to the remote. Clones the repository, tags it, and pushes the tag using credentials from a Kubernetes Secret.",
  "category": "Git",
  "tags": [
    "git"
  ],
  "latestVersion": "1.0.2",
  "versions": [
    "1.0.2",
    "1.0.1",
    "1.0.0"
  ],
  "parameters": [
    "repo-url",
    "tag",
    "author-email",
    "author-name",
    "message",
    "password-key",
    "ref",
    "secret-name",
    "username-key"
  ],
  "images": [
    "alpine/git@sha256:ac6c828f15d82775d204d3d75112e1d34af8945da80ccf922713c9891ba68e7a"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/git-tag.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/git-tag/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/git-tag/",
  "entrypoint": "tag",
  "parameterDetails": [
    {
      "name": "repo-url",
      "title": "Repository URL",
      "description": "HTTPS clone URL of the repository.",
      "type": "string",
      "required": true
    },
    {
      "name": "tag",
      "title": "Tag",
      "description": "Tag name to create and push.",
      "type": "string",
      "required": true,
      "example": "v1.2.3"
    },
    {
      "name": "author-email",
      "title": "Tagger email",
      "type": "string",
      "required": false,
      "default": "workflow-bot@dagweave.com"
    },
    {
      "name": "author-name",
      "title": "Tagger name",
      "type": "string",
      "required": false,
      "default": "workflow-bot"
    },
    {
      "name": "message",
      "title": "Tag message",
      "description": "Annotation message. Defaults to the tag name if blank.",
      "type": "string",
      "required": false,
      "default": ""
    },
    {
      "name": "password-key",
      "title": "Password key",
      "type": "string",
      "required": false,
      "default": "password"
    },
    {
      "name": "ref",
      "title": "Ref",
      "description": "Branch, tag, or SHA the new tag should point at.",
      "type": "string",
      "required": false,
      "default": "main"
    },
    {
      "name": "secret-name",
      "title": "Credentials secret name",
      "description": "Kubernetes Secret with the git username/password keys.",
      "type": "string",
      "required": false,
      "default": "git-credentials"
    },
    {
      "name": "username-key",
      "title": "Username key",
      "type": "string",
      "required": false,
      "default": "username"
    }
  ],
  "imageDetails": [
    {
      "ref": "alpine/git@sha256:ac6c828f15d82775d204d3d75112e1d34af8945da80ccf922713c9891ba68e7a",
      "repository": "alpine/git",
      "tag": "2.54.0",
      "digest": "sha256:ac6c828f15d82775d204d3d75112e1d34af8945da80ccf922713c9891ba68e7a"
    }
  ],
  "versionDetails": [
    {
      "version": "1.0.2",
      "date": "2026-10-19",
      "notes": "Repin alpine/git:2.54.0 on the tag's current digest. What is still open against it is recorded in hack/image-cve-exceptions.txt. Same tool, same arguments; nothing about what the step runs changes.",
      "latest": true,
      "installable": true,
      "url": "https://catalog.dagweave.com/api/v1/items/git-tag/1.0.2.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/git-tag/1.0.2/template.yaml"
    },
    {
      "version": "1.0.1",
      "date": "2026-08-02",
      "notes": "Move alpine/git from 2.45.2 to 2.54.0. Clears all 55 fixable CRITICAL/HIGH; the image now scans clean.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/git-tag/1.0.1.json"
    },
    {
      "version": "1.0.0",
      "date": "2026-07-17",
      "notes": "Initial release.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/git-tag/1.0.0.json"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/git-tag",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
