File tree 4 files changed +8
-5
lines changed
custom-catalog-osd-operator
golang-osd-operator/csv-generate
4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ CONTAINER_ENGINE=$(command -v podman || command -v docker)
7
7
CONTAINER_ENGINE_SHORT=${CONTAINER_ENGINE##*/ }
8
8
REPO_ROOT=$( git rev-parse --show-toplevel)
9
9
VERSIONS_DIR=${REPO_ROOT} /versions
10
- SKOPEO_IMAGE=" quay.io/skopeo/stable:v1.8.0 "
10
+ SKOPEO_IMAGE=" quay.io/skopeo/stable:v1.14.2 "
11
11
12
12
source $REPO_ROOT /boilerplate/_lib/common.sh
13
13
Original file line number Diff line number Diff line change 95
95
96
96
if [ " $push_catalog " = true ] ; then
97
97
# push image
98
- skopeo copy --dest-creds " ${QUAY_USER} :${QUAY_TOKEN} " \
98
+ ${CONTAINER_ENGINE} run ${SKOPEO_IMAGE} -- skopeo copy --dest-creds " ${QUAY_USER} :${QUAY_TOKEN} " \
99
99
" ${SRC_CONTAINER_TRANSPORT} :${registry_image} :${operator_channel} -latest" \
100
100
" docker://${registry_image} :${operator_channel} -latest"
101
101
@@ -104,7 +104,7 @@ if [ "$push_catalog" = true ] ; then
104
104
exit 1
105
105
fi
106
106
107
- skopeo copy --dest-creds " ${QUAY_USER} :${QUAY_TOKEN} " \
107
+ ${CONTAINER_ENGINE} run ${SKOPEO_IMAGE} -- skopeo copy --dest-creds " ${QUAY_USER} :${QUAY_TOKEN} " \
108
108
" ${SRC_CONTAINER_TRANSPORT} :${registry_image} :${operator_channel} -latest" \
109
109
" docker://${registry_image} :${operator_channel} -${operator_commit_hash} "
110
110
Original file line number Diff line number Diff line change 2
2
3
3
REPO_ROOT=$( git rev-parse --show-toplevel)
4
4
source $REPO_ROOT /boilerplate/_lib/common.sh
5
+ SKOPEO_IMAGE=" quay.io/skopeo/stable:v1.14.2"
5
6
6
7
function check_mandatory_params() {
7
8
local csv_missing_param_error
Original file line number Diff line number Diff line change @@ -39,8 +39,10 @@ go install k8s.io/code-generator/cmd/openapi-gen@${OPENAPI_GEN_VERSION}
39
39
# ########
40
40
# ENVTEST
41
41
# ########
42
- # We do not enforce versioning on setup-envtest
43
- go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
42
+ # Latest is only compatible with Go 1.22
43
+ # https://github.com/kubernetes-sigs/controller-runtime/issues/2744
44
+ ENVTEST_VERSION=" bf15e44028f908c790721fc8fe67c7bf2d06a611"
45
+ go install sigs.k8s.io/controller-runtime/tools/setup-envtest@${ENVTEST_VERSION}
44
46
45
47
# #############
46
48
# govulncheck
You can’t perform that action at this time.
0 commit comments