From a61eaa8814160b62036a851695c13907a118f1d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Thu, 22 Aug 2024 09:59:38 +0300 Subject: [PATCH] Fix Drone CI --- .drone.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.drone.yml b/.drone.yml index 22dc7b2..63ad6a4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,34 @@ --- kind: pipeline type: kubernetes +name: build-arm64 +platform: + arch: arm64 + os: linux +node_selector: + kubernetes.io/arch: arm64 +steps: +- name: submodules + image: alpine/git + commands: + - touch .gitmodules + - echo "ENV GIT_COMMIT=$(git rev-parse HEAD)" >> Dockerfile + - echo "ENV GIT_COMMIT_TIMESTAMP=$(git log -1 --format=%cd --date=iso-strict)" >> Dockerfile + - cat Dockerfile +- name: docker + image: mirror.gcr.io/codemowers/drone-kaniko + settings: + repo: ${DRONE_REPO} + tags: latest-arm64 + registry: harbor.codemowers.eu + storage_driver: vfs + username: + from_secret: docker_username + password: + from_secret: docker_password +--- +kind: pipeline +type: kubernetes name: build-amd64 platform: arch: amd64