mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #88847 from claudiubelu/image-promoter/build-and-push
Image Promoter fixes
This commit is contained in:
commit
974a8a014f
@ -37,4 +37,7 @@ all-container:
|
||||
all-push: all-container
|
||||
./image-util.sh push $(WHAT)
|
||||
|
||||
.PHONY: all all-push all-container
|
||||
all-build-and-push:
|
||||
./image-util.sh build_and_push ${WHAT}
|
||||
|
||||
.PHONY: all all-build-and-push all-push all-container
|
||||
|
@ -19,7 +19,7 @@ steps:
|
||||
- REGISTRY=gcr.io/k8s-staging-e2e-test-images
|
||||
# TODO(claudiub): Readd the REMOTE_DOCKER_URL_${os_version} to reenable the Windows test image building process.
|
||||
args:
|
||||
- all-push
|
||||
- all-build-and-push
|
||||
substitutions:
|
||||
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
|
||||
# can be used as a substitution
|
||||
|
@ -237,6 +237,14 @@ push() {
|
||||
docker manifest push --purge "${REGISTRY}/${image}:${TAG}"
|
||||
}
|
||||
|
||||
# This function is for building AND pushing images. Useful if ${WHAT} is "all-conformance".
|
||||
# This will allow images to be pushed immediately after they've been pushed.
|
||||
build_and_push() {
|
||||
image=$1
|
||||
build "${image}"
|
||||
push "${image}"
|
||||
}
|
||||
|
||||
# This function is for building the go code
|
||||
bin() {
|
||||
local arch_prefix=""
|
||||
|
@ -1,5 +1,5 @@
|
||||
linux/amd64=REGISTRY/agnhost:2.11-linux-amd64
|
||||
linux/arm=REGISTRY/agnhost:2.11-linux-arm
|
||||
linux/arm64=REGISTRY/agnhost:2.11-linux-arm64
|
||||
linux/ppc64le=REGISTRY/agnhost:2.11-linux-ppc64le
|
||||
linux/s390x=REGISTRY/agnhost:2.11-linux-s390x
|
||||
linux/amd64=REGISTRY/agnhost:2.12-linux-amd64
|
||||
linux/arm=REGISTRY/agnhost:2.12-linux-arm
|
||||
linux/arm64=REGISTRY/agnhost:2.12-linux-arm64
|
||||
linux/ppc64le=REGISTRY/agnhost:2.12-linux-ppc64le
|
||||
linux/s390x=REGISTRY/agnhost:2.12-linux-s390x
|
||||
|
@ -1,5 +1,5 @@
|
||||
linux/amd64=REGISTRY/agnhost:2.11-linux-amd64
|
||||
linux/arm=REGISTRY/agnhost:2.11-linux-arm
|
||||
linux/arm64=REGISTRY/agnhost:2.11-linux-arm64
|
||||
linux/ppc64le=REGISTRY/agnhost:2.11-linux-ppc64le
|
||||
linux/s390x=REGISTRY/agnhost:2.11-linux-s390x
|
||||
linux/amd64=REGISTRY/agnhost:2.12-linux-amd64
|
||||
linux/arm=REGISTRY/agnhost:2.12-linux-arm
|
||||
linux/arm64=REGISTRY/agnhost:2.12-linux-arm64
|
||||
linux/ppc64le=REGISTRY/agnhost:2.12-linux-ppc64le
|
||||
linux/s390x=REGISTRY/agnhost:2.12-linux-s390x
|
||||
|
Loading…
Reference in New Issue
Block a user