From b3e507f39945532732599e89b4a274747f82befc Mon Sep 17 00:00:00 2001 From: Scott Suarez Date: Wed, 5 May 2021 18:27:46 -0400 Subject: [PATCH] upgrade downstream-builder to go16 and update docs (#4767) --- .ci/containers/README.md | 8 ++++---- .ci/containers/downstream-builder/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ci/containers/README.md b/.ci/containers/README.md index f22b3296e46e..db336b2b8f3e 100644 --- a/.ci/containers/README.md +++ b/.ci/containers/README.md @@ -8,15 +8,15 @@ The images are named with the languages they contain and the images are versione If there are multiple images with the same language version but different libraries (gems), a `v#` is appended to differentiate. eg: `1.11.5-2.6.0-2.7-v6` ## Updating a docker image -The Dockerfile should be updated, then the image rebuilt and pushed to the container registry stored at the `magic-modules` GCP project. To update any of the images: +The Dockerfile should be updated, then the image rebuilt and pushed to the container registry stored at the `graphite-docker-images` GCP project. To update any of the images: 1. Make changes to the Dockerfile 2. Configure docker to use gcloud auth: ```gcloud auth configure-docker``` -3. Build the image: `docker build . --tag gcr.io/magic-modules/go-ruby-python` +3. Build the image: `docker build . --tag gcr.io/graphite-docker-images/go-ruby-python` 4. Find the new image's id: `docker images` -5. Add the appropriate tag `docker tag ac37c0af8ce7 gcr.io/magic-modules/go-ruby-python:1.11.5-2.6.0-2.7-v6` -6. Push the image: `docker push gcr.io/magic-modules/go-ruby-python:1.11.5-2.6.0-2.7-v6 +5. Add the appropriate tag `docker tag ac37c0af8ce7 gcr.io/graphite-docker-images/go-ruby-python:1.11.5-2.6.0-2.7-v6` +6. Push the image: `docker push gcr.io/graphite-docker-images/go-ruby-python:1.11.5-2.6.0-2.7-v6 7. Check the UI and ensure the new version is available and tagged at `latest`. It must be tagged `latest` for the Kokoro builds to get the correct version. ` diff --git a/.ci/containers/downstream-builder/Dockerfile b/.ci/containers/downstream-builder/Dockerfile index 847b70653bc3..4d51d1a3bfae 100644 --- a/.ci/containers/downstream-builder/Dockerfile +++ b/.ci/containers/downstream-builder/Dockerfile @@ -1,4 +1,4 @@ -from golang:1.13-stretch as resource +from golang:1.16.3-stretch as resource SHELL ["/bin/bash", "-c"]