{
  "name": "git-commit-push",
  "title": "Commit and push a working directory",
  "description": "Commit the changes in a checked-out working directory and push HEAD to a branch on its remote. Author identity and target branch are configurable; credentials come from a Kubernetes Secret. Converted from the built-in dagweave \"Commit and push a working directory\" blueprint.",
  "category": "Git",
  "tags": [
    "git"
  ],
  "latestVersion": "1.0.2",
  "versions": [
    "1.0.2",
    "1.0.1",
    "1.0.0"
  ],
  "parameters": [
    "branch",
    "commit-message",
    "author-email",
    "author-name",
    "password-key",
    "path",
    "secret-name",
    "username-key"
  ],
  "images": [
    "alpine/git@sha256:ac6c828f15d82775d204d3d75112e1d34af8945da80ccf922713c9891ba68e7a"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/git-commit-push.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/git-commit-push/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/git-commit-push/",
  "entrypoint": "commit-push",
  "parameterDetails": [
    {
      "name": "branch",
      "title": "Target branch",
      "type": "string",
      "required": true,
      "default": "main"
    },
    {
      "name": "commit-message",
      "title": "Commit message",
      "type": "string",
      "required": true
    },
    {
      "name": "author-email",
      "title": "Author email",
      "type": "string",
      "required": false,
      "default": "workflow-bot@dagweave.com"
    },
    {
      "name": "author-name",
      "title": "Author name",
      "type": "string",
      "required": false,
      "default": "workflow-bot"
    },
    {
      "name": "password-key",
      "title": "Password key",
      "type": "string",
      "required": false,
      "default": "password"
    },
    {
      "name": "path",
      "title": "Working directory",
      "description": "Directory containing the checked-out repo to commit.",
      "type": "string",
      "required": false,
      "default": "/work"
    },
    {
      "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-commit-push/1.0.2.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/git-commit-push/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-commit-push/1.0.1.json"
    },
    {
      "version": "1.0.0",
      "date": "2026-07-17",
      "notes": "Initial release. Converted from the built-in git-commit-push blueprint.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/git-commit-push/1.0.0.json"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/git-commit-push",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
