Lines Matching full:docker
16 # Builds selected testing docker images and pushes them to artifact registry.
30 # SKIP_UPLOAD: if set, script won't push docker images it built to artifact registry.
31 # TRANSFER_FROM_DOCKERHUB: if set, will attempt to grab docker images missing in artifact registry…
33 # How to configure docker before running this script for the first time:
34 # Configure docker:
35 # $ gcloud auth configure-docker us-docker.pkg.dev
43 # Check that docker is installed and sudoless docker works.
44 docker run --rm -it debian:11 bash -c 'echo "sudoless docker run works!"' || \
45 (echo "Error: docker not installed or sudoless docker doesn't work?" && exit 1)
53 …docker run --rm -it arm64v8/debian:11 bash -c 'echo "able to run arm64 docker images with an emula…
57 ARTIFACT_REGISTRY_PREFIX=us-docker.pkg.dev/grpc-testing/testing-images-public
90 # contents of the docker image always changes the SHA (e.g. using "ADD file"
105 …# value obtained here corresponds to the "RepoDigests" from "docker image inspect", but without th…
106 …DOCKER_IMAGE_DIGEST_REMOTE=$(gcloud artifacts docker images describe "${ARTIFACT_REGISTRY_PREFIX}/…
111 …echo "Docker image ${DOCKER_IMAGE_NAME} already exists in artifact registry at the right version (…
129 …# update info on what we consider to be the current version of the docker image (which will be use…
138 echo "CHECK FAILED: Docker image ${DOCKER_IMAGE_NAME} not found in artifact registry."
148 # it is out of date and we will need to rebuild the docker image locally.
159 echo "Dockerfile for ${DOCKER_IMAGE_NAME} hasn't changed. Will skip 'docker build'."
179 echo "Running 'docker build' for ${DOCKER_IMAGE_NAME}"
181 # Building a docker image with two tags;
184 docker build \
195 docker pull ${DOCKERHUB_ORGANIZATION}/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG}
197 …docker tag ${DOCKERHUB_ORGANIZATION}/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG} ${ARTIFACT_REGISTRY_…
200 …# After building the docker image locally, we don't know the image's RepoDigest (which is distinct…
201 …rent_version file with the image tag (which will be enough for running tests under docker locally).
208 docker push ${ARTIFACT_REGISTRY_PREFIX}/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG}
209 …docker push ${ARTIFACT_REGISTRY_PREFIX}/${DOCKER_IMAGE_NAME}:infrastructure-public-image-${DOCKER_…
211 …# After successful push, the image's RepoDigest info will become available in "docker image inspec…
213 …DOCKER_IMAGE_DIGEST_REMOTE=$(docker image inspect "${ARTIFACT_REGISTRY_PREFIX}/${DOCKER_IMAGE_NAME…