File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
staging/src/k8s.io/kms/internal/plugins/_mock
test/e2e/testing-manifests/auth/encrypt Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- FROM golang:1.24.0-bullseye AS builder
15
+ # NOTE: this is just a default placeholder for convenience
16
+ # To build this image properly, please invoke test/e2e/testing-manifests/auth/encrypt/run-e2e.sh
17
+ ARG BUILDER_IMAGE=golang:latest
18
+ FROM $BUILDER_IMAGE AS builder
16
19
17
20
WORKDIR /workspace
18
21
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ set -o pipefail
27
27
28
28
KUBE_ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " /../../../../.. && pwd -P) "
29
29
source " ${KUBE_ROOT} /hack/lib/init.sh"
30
+ source " ${KUBE_ROOT} /build/common.sh"
30
31
31
32
readonly cluster_name=" kms"
32
33
readonly registry_name=" kind-registry"
@@ -38,7 +39,8 @@ build_and_push_mock_plugin() {
38
39
--no-cache \
39
40
--platform linux/amd64 \
40
41
--output=type=docker \
41
- --build-arg=GOTOOLCHAIN=" ${GOTOOLCHAIN} " \
42
+ --build-arg=GOTOOLCHAIN=" ${GOTOOLCHAIN:? } " \
43
+ --build-arg=BUILDER_IMAGE=" ${KUBE_CROSS_IMAGE:? } :${KUBE_CROSS_VERSION:? } " \
42
44
-t localhost:5000/mock-kms-provider:e2e \
43
45
-f staging/src/k8s.io/kms/internal/plugins/_mock/Dockerfile staging/src/k8s.io/ \
44
46
--progress=plain;
You can’t perform that action at this time.
0 commit comments