apigee-pull-push.sh é um utilitário que extrai todas as imagens do projeto atual do Google Cloud
a partir do Google Cloud
Container Registry e as envia para o repositório especificado.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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.12 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. 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.8.0\n gcr.io/apigee-release/hybrid/apigee-synchronizer:1.8.0\n gcr.io/apigee-release/hybrid/apigee-runtime:1.8.0\n gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra-client:1.8.0\n gcr.io/apigee-release/hybrid/apigee-hybrid-cassandra:1.8.0\n gcr.io/apigee-release/hybrid/apigee-cassandra-backup-utility:1.8.0\n gcr.io/apigee-release/hybrid/apigee-udca:1.8.0\n gcr.io/apigee-release/hybrid/apigee-connect-agent:1.8.0\n gcr.io/apigee-release/hybrid/apigee-watcher:1.8.0\n gcr.io/apigee-release/hybrid/apigee-operators:1.8.0\n gcr.io/apigee-release/hybrid/apigee-installer:1.8.0\n gcr.io/apigee-release/hybrid/apigee-redis:1.8.0\n gcr.io/apigee-release/hybrid/apigee-diagnostics-collector:1.8.0\n gcr.io/apigee-release/hybrid/apigee-diagnostics-runner:1.8.0\nthird party:\n gcr.io/apigee-release/hybrid/apigee-stackdriver-logging-agent:1.8.9\n gcr.io/apigee-release/hybrid/apigee-prom-prometheus:v2.33.5\n gcr.io/apigee-release/hybrid/apigee-stackdriver-prometheus-sidecar:0.9.0\n gcr.io/apigee-release/hybrid/apigee-kube-rbac-proxy:v0.8.0\n gcr.io/apigee-release/hybrid/apigee-envoy:v1.16-latest\n gcr.io/apigee-release/hybrid/apigee-prometheus-adapter:v0.9.1\n gcr.io/apigee-release/hybrid/apigee-asm-ingress:1.12.6-asm.2-distroless\n gcr.io/apigee-release/hybrid/apigee-asm-istiod:1.12.6-asm.2\n```\n\n### Get help for `apigee-pull-push.sh`\n\n```\napigee-pull-push.sh --help\n```"]]