File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ IMAGE_NAME=${2:-"agentv3"}
4040RE_PATTERN=${3:- " " }
4141IMAGE_PATH=" ${REGISTRY_URL} /${IMAGE_NAME} "
4242CONTAINER_TOOL=docker
43- SKOPEO_IMAGE=" quay.io/skopeo/stable:latest"
43+ SKOPEO_IMAGE=" quay.io/skopeo/stable"
44+ SKOPEO_TAG=" latest"
4445
4546# Check for docker installation
4647if ! command -v ${CONTAINER_TOOL} & > /dev/null; then
@@ -57,7 +58,7 @@ echo "Using container tool: ${CONTAINER_TOOL}"
5758${CONTAINER_TOOL} --version
5859
5960echo " Getting skopeo tool..."
60- ${CONTAINER_TOOL} pull ${SKOPEO_IMAGE}
61+ ${CONTAINER_TOOL} pull ${SKOPEO_IMAGE} : ${SKOPEO_TAG} || { echo " Failed to pull skopeo image " ; exit 1 ; }
6162
6263echo " Checking images in ${REGISTRY_URL} /${IMAGE_NAME} "
6364echo " Saving all tags to ${IMAGE_NAME} _tags.txt"
You can’t perform that action at this time.
0 commit comments