{
  "name": "gcs-upload",
  "title": "Upload a file to Google Cloud Storage",
  "description": "Upload a local file or artifact to a Google Cloud Storage bucket with gsutil, authenticating with a service-account key read from a Kubernetes Secret.",
  "category": "Object storage",
  "tags": [
    "cloud-sdk",
    "object-storage"
  ],
  "latestVersion": "1.0.4",
  "versions": [
    "1.0.4",
    "1.0.3",
    "1.0.2",
    "1.0.1",
    "1.0.0"
  ],
  "parameters": [
    "bucket",
    "object",
    "source-path",
    "gcp-secret-key",
    "gcp-secret-name"
  ],
  "images": [
    "google/cloud-sdk@sha256:b38f2881552c3054d140c8eeb4ad88bdc0eb4deeeb38507c5dac1403adc3ee64"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/gcs-upload.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/gcs-upload/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/gcs-upload/",
  "entrypoint": "upload",
  "parameterDetails": [
    {
      "name": "bucket",
      "title": "Bucket",
      "description": "Target GCS bucket name (no gs:// prefix).",
      "type": "string",
      "required": true,
      "example": "my-gcs-bucket"
    },
    {
      "name": "object",
      "title": "Object name",
      "description": "Destination object name within the bucket.",
      "type": "string",
      "required": true,
      "example": "reports/2026/summary.csv"
    },
    {
      "name": "source-path",
      "title": "Source path",
      "description": "Local path of the file to upload.",
      "type": "string",
      "required": true
    },
    {
      "name": "gcp-secret-key",
      "title": "GCP secret key",
      "description": "Key within the Secret that holds the service-account JSON key.",
      "type": "string",
      "required": false,
      "default": "key.json"
    },
    {
      "name": "gcp-secret-name",
      "title": "GCP secret name",
      "description": "Name of the Kubernetes Secret holding the GCP service-account JSON key.",
      "type": "string",
      "required": false,
      "default": "gcp-credentials"
    }
  ],
  "imageDetails": [
    {
      "ref": "google/cloud-sdk@sha256:b38f2881552c3054d140c8eeb4ad88bdc0eb4deeeb38507c5dac1403adc3ee64",
      "repository": "google/cloud-sdk",
      "tag": "slim",
      "digest": "sha256:b38f2881552c3054d140c8eeb4ad88bdc0eb4deeeb38507c5dac1403adc3ee64"
    }
  ],
  "versionDetails": [
    {
      "version": "1.0.4",
      "date": "2026-08-20",
      "notes": "Repin google/cloud-sdk:slim onto 581.0.0-slim, the digest :slim now heads at. gcloud goes 580.0.0 to 581.0.0 on the same Dockerfile: Entrypoint, Cmd, User and WorkingDir match across both digests and the only layers that differ are the ones carrying the version argument. The four util-linux advisories the old pin went red on, CVE-2026-53612 through CVE-2026-53615, are gone with Debian's 2.41.5-0+deb13u1, so the OS baseline record is deleted rather than rewritten. The eleven vendored advisories are the same eleven on both digests and keep their record.",
      "latest": true,
      "installable": true,
      "url": "https://catalog.dagweave.com/api/v1/items/gcs-upload/1.0.4.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/gcs-upload/1.0.4/template.yaml"
    },
    {
      "version": "1.0.3",
      "date": "2026-08-11",
      "notes": "Repin google/cloud-sdk:slim on the current digest, which is also the newest 580.0.0-slim. gcloud goes 579.0.0 to 580.0.0 and gsutil stays at 5.37. The last fixable OS-package HIGH, linux-libc-dev CVE-2026-64561, is gone with the newer Debian trixie base, so the OS baseline record is deleted rather than rewritten. The three cryptography advisories in the bundled Python are unmoved and keep their record.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/gcs-upload/1.0.3.json"
    },
    {
      "version": "1.0.2",
      "date": "2026-08-11",
      "notes": "Repin google/cloud-sdk:slim on the current digest. Same tag, newer build. Fixable OS-package HIGH drops from 21 to 1: the libexpat1 and linux-libc-dev updates have landed, one newer linux-libc-dev has not. gcloud goes 578.0.0 to 579.0.0 and gsutil stays at 5.37.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/gcs-upload/1.0.2.json"
    },
    {
      "version": "1.0.1",
      "date": "2026-08-02",
      "notes": "Move google/cloud-sdk off the pinned 495.0.0-slim tag onto the rolling slim tag that bigquery-query already uses. Fixable CRITICAL/HIGH drops from 980 to 18. gcloud goes 495.0.0 to 578.0.0 and gsutil 5.30 to 5.37.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/gcs-upload/1.0.1.json"
    },
    {
      "version": "1.0.0",
      "date": "2026-07-16",
      "notes": "Initial release.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/gcs-upload/1.0.0.json"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/gcs-upload",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
