Skip to content

Commit 093b4e5

Browse files
committed
ci/drone: drop k3d image builds for arm as base image doesn't exist for arm
1 parent aa6e902 commit 093b4e5

File tree

1 file changed

+4
-40
lines changed

1 file changed

+4
-40
lines changed

.drone.yml

+4-40
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ steps:
216216
settings:
217217
repo: rancher/k3d
218218
auto_tag: true
219-
auto_tag_suffix: linux-amd64
219+
auto_tag_suffix: dind-linux-amd64
220220
dockerfile: Dockerfile
221221
target: dind
222222
context: .
@@ -277,42 +277,6 @@ platform:
277277
arch: arm
278278

279279
steps:
280-
- name: build_push_binary
281-
environment:
282-
DOCKER_BUILDKIT: "1"
283-
image: plugins/docker
284-
settings:
285-
repo: rancher/k3d
286-
auto_tag: true
287-
auto_tag_suffix: linux-arm
288-
dockerfile: Dockerfile
289-
target: binary-only
290-
context: .
291-
username:
292-
from_secret: docker_username
293-
password:
294-
from_secret: docker_password
295-
build_args:
296-
- GIT_TAG_OVERRIDE=${DRONE_TAG}
297-
298-
- name: build_push_dind
299-
image: plugins/docker
300-
environment:
301-
DOCKER_BUILDKIT: "1"
302-
settings:
303-
repo: rancher/k3d
304-
auto_tag: true
305-
auto_tag_suffix: linux-arm64
306-
dockerfile: Dockerfile
307-
target: dind
308-
context: .
309-
username:
310-
from_secret: docker_username
311-
password:
312-
from_secret: docker_password
313-
build_args:
314-
- GIT_TAG_OVERRIDE=${DRONE_TAG}
315-
- ARCH=arm
316280

317281
- name: build_push_proxy
318282
image: plugins/docker
@@ -391,7 +355,7 @@ steps:
391355
settings:
392356
repo: rancher/k3d
393357
auto_tag: true
394-
auto_tag_suffix: linux-arm64
358+
auto_tag_suffix: dind-linux-arm64
395359
dockerfile: Dockerfile
396360
target: dind
397361
context: .
@@ -462,7 +426,7 @@ steps:
462426
from_secret: docker_password
463427
spec: manifest.tmpl
464428
auto_tag: true
465-
ignore_missing: false
429+
ignore_missing: true # expected, as we dropped arm due to missing base image for that arch
466430

467431
- name: push_manifest_dind
468432
image: plugins/manifest
@@ -473,7 +437,7 @@ steps:
473437
from_secret: docker_password
474438
spec: dind-manifest.tmpl
475439
auto_tag: true
476-
ignore_missing: false
440+
ignore_missing: true # expected, as we dropped arm due to missing base image for that arch
477441

478442
- name: push_manifest_proxy
479443
image: plugins/manifest

0 commit comments

Comments
 (0)