ci/drone: drop k3d image builds for arm as base image doesn't exist for arm

This commit is contained in:
iwilltry42 2021-08-18 18:28:47 +02:00
parent aa6e902743
commit 093b4e550f
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110

View File

@ -216,7 +216,7 @@ steps:
settings: settings:
repo: rancher/k3d repo: rancher/k3d
auto_tag: true auto_tag: true
auto_tag_suffix: linux-amd64 auto_tag_suffix: dind-linux-amd64
dockerfile: Dockerfile dockerfile: Dockerfile
target: dind target: dind
context: . context: .
@ -277,42 +277,6 @@ platform:
arch: arm arch: arm
steps: steps:
- name: build_push_binary
environment:
DOCKER_BUILDKIT: "1"
image: plugins/docker
settings:
repo: rancher/k3d
auto_tag: true
auto_tag_suffix: linux-arm
dockerfile: Dockerfile
target: binary-only
context: .
username:
from_secret: docker_username
password:
from_secret: docker_password
build_args:
- GIT_TAG_OVERRIDE=${DRONE_TAG}
- name: build_push_dind
image: plugins/docker
environment:
DOCKER_BUILDKIT: "1"
settings:
repo: rancher/k3d
auto_tag: true
auto_tag_suffix: linux-arm64
dockerfile: Dockerfile
target: dind
context: .
username:
from_secret: docker_username
password:
from_secret: docker_password
build_args:
- GIT_TAG_OVERRIDE=${DRONE_TAG}
- ARCH=arm
- name: build_push_proxy - name: build_push_proxy
image: plugins/docker image: plugins/docker
@ -391,7 +355,7 @@ steps:
settings: settings:
repo: rancher/k3d repo: rancher/k3d
auto_tag: true auto_tag: true
auto_tag_suffix: linux-arm64 auto_tag_suffix: dind-linux-arm64
dockerfile: Dockerfile dockerfile: Dockerfile
target: dind target: dind
context: . context: .
@ -462,7 +426,7 @@ steps:
from_secret: docker_password from_secret: docker_password
spec: manifest.tmpl spec: manifest.tmpl
auto_tag: true auto_tag: true
ignore_missing: false ignore_missing: true # expected, as we dropped arm due to missing base image for that arch
- name: push_manifest_dind - name: push_manifest_dind
image: plugins/manifest image: plugins/manifest
@ -473,7 +437,7 @@ steps:
from_secret: docker_password from_secret: docker_password
spec: dind-manifest.tmpl spec: dind-manifest.tmpl
auto_tag: true auto_tag: true
ignore_missing: false ignore_missing: true # expected, as we dropped arm due to missing base image for that arch
- name: push_manifest_proxy - name: push_manifest_proxy
image: plugins/manifest image: plugins/manifest