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