Skip to content

Instantly share code, notes, and snippets.

@darkn3rd
Created September 18, 2022 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darkn3rd/5f839a7307ee41a59f334c2d85b80fb9 to your computer and use it in GitHub Desktop.
Save darkn3rd/5f839a7307ee41a59f334c2d85b80fb9 to your computer and use it in GitHub Desktop.
GKE NSM2: republish_nginx_image.sh
source env.sh
NGINX_IC_NAP_IMAGE="$PRIV_REG/nginx-ic-nap/nginx-plus-ingress"
docker pull $NGINX_IC_NAP_IMAGE:2.3.0
docker tag $NGINX_IC_NAP_IMAGE:2.3.0 \
gcr.io/$GCR_PROJECT_ID/nginx-plus-ingress:2.3.0
docker push gcr.io/$GCR_PROJECT_ID/nginx-plus-ingress:2.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment