apigee-pull-push.sh ist ein Dienstprogramm, das alle Images für das aktuelle Google Cloud-Projekt aus der Google Cloud Container Registry abruft und in das angegebene Repository überträgt.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-28 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eapigee-pull-push.sh\u003c/code\u003e is a utility for pulling all images from the current Google Cloud project's Container Registry and pushing them to a specified repository.\u003c/p\u003e\n"],["\u003cp\u003eThe script requires access to the Google Cloud Container Registry and the \u003ccode\u003egcloud\u003c/code\u003e command-line tool to function properly.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify a target repository for the images using the \u003ccode\u003eREPO\u003c/code\u003e argument, or omit it to use the default \u003ccode\u003eus.gcr.io/<PROJECT_ID>\u003c/code\u003e repository.\u003c/p\u003e\n"],["\u003cp\u003eYou can list all the images within your specified or default repository using the \u003ccode\u003e--list\u003c/code\u003e option with the \u003ccode\u003eapigee-pull-push.sh\u003c/code\u003e script.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the script with the \u003ccode\u003e--help\u003c/code\u003e option to get the help information for the \u003ccode\u003eapigee-pull-push.sh\u003c/code\u003e script.\u003c/p\u003e\n"]]],[],null,["# apigee-pull-push\n\n| You are currently viewing version 1.14 of the Apigee hybrid documentation. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\n`apigee-pull-push.sh` is a utility that pulls all the images for the current Google Cloud\nproject from the [Google\nCloud Container Registry](https://cloud.google.com/container-registry/) and pushes them to your specified repository.\n| **Note:** You can set the current project with `gcloud config set project` or `gcloud init`.\n\nRequirements\n------------\n\n- Access to the [Google\n Cloud Container Registry](https://cloud.google.com/container-registry/)\n- `gcloud`.\n\n\n To install or upgrade `gcloud`, see [Installing Google\n Cloud SDK](/sdk/docs/install)\n\nFile location\n-------------\n\n`apigee-pull-push.sh` can be found in\n`$APIGEE_HELM_CHARTS_HOME/apigee-operator/etc/tools/`\n\nUsage\n-----\n\n### Syntax\n\n\n**apigee-pull-push [REPO] [--list] [--help]**\n\n### *Optional:* Check the current project in your `gcloud` context\n\n\nThis step is optional, because `apigee-pull-push.sh` will confirm the project and allow\nyou to proceed or abort.\n\n\n`apigee-pull-push.sh` pulls the images for the current project in your\n`gcloud` context. Check the project with the following command: \n\n```\ngcloud config list core/project --format='value(core.project)'\n```\n\n\nYou can set the current project with the following command: \n\n```\ngcloud config set project PROJECT_ID\n```\n\n\nWhere \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e is the ID of the Google Cloud project for your Apigee hybrid installation.\n\n### Push the Apigee hybrid image to a repository you name\n\n```\napigee-pull-push.sh REPO\n```\n\n\nWhere \u003cvar translate=\"no\"\u003eREPO\u003c/var\u003e is the URL of the repository, for example `/gcr.io/apigee-release`.\n| **Note:** The repository must be a protocol-less URL (without `HTTP` or `HTTPS`).\n|\n| For example, use `./apigee-pull-push.sh us-central1-docker.pkg.dev/apigee-hybrid-support-amer-01/hybrid`, instead of `./apigee-pull-push.sh https://us-central1-docker.pkg.dev/apigee-hybrid-support-amer-01/hybrid`.\n\n### Push the Apigee image to the default repository\n\n```\napigee-pull-push.sh \n```\n\n\nThis command pushes the image to `us.gcr.io/`\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e, for example\n`us.gcr.io/my-project`.\n\n### List the images in your repository\n\n\nUse the `--list` or `-l` option to list all the images in your repository. \n\n```\napigee-pull-push.sh --list\n```\n\n\nExample output: \n\n```\napigee:\n gcr.io/apigee-release/hybrid/apigee-mart-server:1.14.2\n gcr.io/apigee-release/hybrid/apigee-synchronizer:1.14.2\n gcr.io/apigee-release/hybrid/apigee-runtime:1.14.2\n gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra-client:1.14.2\n gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra:1.14.2\n gcr.io/apigee-release/hybrid/apigee-udca:1.14.2\n gcr.io/apigee-release/hybrid/apigee-connect-agent:1.14.2\n gcr.io/apigee-release/hybrid/apigee-watcher:1.14.2\n gcr.io/apigee-release/hybrid/apigee-operators:1.14.2\n gcr.io/apigee-release/hybrid/apigee-redis:1.14.2\n gcr.io/apigee-release/hybrid/apigee-mint-task-scheduler:1.14.2\nthird party:\n gcr.io/apigee-release/hybrid/apigee-stackdriver-logging-agent:1.14.2\n gcr.io/apigee-release/hybrid/apigee-prom-prometheus:1.14.2\n gcr.io/apigee-release/hybrid/apigee-stackdriver-prometheus-sidecar:1.14.2\n gcr.io/apigee-release/hybrid/apigee-kube-rbac-proxy:1.14.2\n gcr.io/apigee-release/hybrid/apigee-envoy:1.14.2\n gcr.io/apigee-release/hybrid/apigee-prometheus-adapter:1.14.2\n gcr.io/apigee-release/hybrid/apigee-asm-ingress:1.14.2\n gcr.io/apigee-release/hybrid/apigee-asm-istiod:1.14.2\n gcr.io/apigee-release/hybrid/apigee-fluent-bit:1.14.2\n gcr.io/apigee-release/hybrid/apigee-open-telemetry-collector:1.14.2\n```\n| **Note:** Prior to Apigee hybrid vsersion 1.14.2, the version tag for third party images was a version unique to the component version. For example `gcr.io/apigee-release/hybrid/apigee-stackdriver-prometheus-sidecar:0.10.0`.\n|\n|\n| In version 1.14.2 and newer, you can see the original version tag as the label returned by the `docker history` or `docker inspect` commands. For example: \n|\n| docker history gcr.io/apigee-release/hybrid/apigee-stackdriver-prometheus-sidecar:0.10.0\n| IMAGE CREATED CREATED BY SIZE COMMENT\n| cb2c96a7aeab 3 months ago /bin/sh -c #(nop) LABEL original-label=0.10.2 0B\n|\n### Get help for `apigee-pull-push.sh`\n\n```\napigee-pull-push.sh --help\n```"]]