ci: run pipeline on arm64 nodes
This commit is contained in:
parent
0338de7eb0
commit
f573477cd0
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -7,7 +7,7 @@ apiVersion: v1
|
||||
kind: Pod
|
||||
spec:
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: amd64
|
||||
kubernetes.io/arch: arm64
|
||||
node-role.kubernetes.io/worker: "true"
|
||||
containers:
|
||||
- name: dind
|
||||
@ -273,7 +273,7 @@ NODE
|
||||
|
||||
printf '%s' "${HARBOR_PASSWORD}" | docker login registry.bstein.dev -u "${HARBOR_USERNAME}" --password-stdin
|
||||
|
||||
docker buildx build --platform linux/amd64 \
|
||||
docker buildx build --platform linux/arm64 \
|
||||
--provenance=false \
|
||||
--tag "${IMAGE_REPO}:${IMAGE_TAG}" \
|
||||
--tag "${IMAGE_REPO}:main" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user