From d20fdf350d606745beea8b30a512eac396eba650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Wed, 12 Oct 2022 14:24:31 +0300 Subject: [PATCH] drone: Switch templates to drone-kaniko plugin --- drone/README.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drone/README.md b/drone/README.md index d1f2722..ae378c9 100644 --- a/drone/README.md +++ b/drone/README.md @@ -77,14 +77,11 @@ steps: - echo "ENV GIT_COMMIT_TIMESTAMP=$(git log -1 --format=%cd --date=iso-strict)" >> Dockerfile - cat Dockerfile - name: docker - image: plugins/docker + image: harbor.k-space.ee/k-space/drone-kaniko settings: - repo: harbor.k-space.ee/${DRONE_REPO} + repo: ${DRONE_REPO} tags: latest-arm64 registry: harbor.k-space.ee - squash: true - experimental: true - mtu: 1300 username: from_secret: docker_username password: @@ -109,14 +106,11 @@ steps: - echo "ENV GIT_COMMIT_TIMESTAMP=$(git log -1 --format=%cd --date=iso-strict)" >> Dockerfile - cat Dockerfile - name: docker - image: plugins/docker + image: harbor.k-space.ee/k-space/drone-kaniko settings: - repo: harbor.k-space.ee/${DRONE_REPO} + repo: ${DRONE_REPO} tags: latest-amd64 registry: harbor.k-space.ee - squash: true - experimental: true - mtu: 1300 storage_driver: vfs username: from_secret: docker_username @@ -130,8 +124,8 @@ steps: - name: manifest image: plugins/manifest settings: - target: harbor.k-space.ee/${DRONE_REPO}:latest - template: harbor.k-space.ee/${DRONE_REPO}:latest-ARCH + target: ${DRONE_REPO}:latest + template: ${DRONE_REPO}:latest-ARCH platforms: - linux/amd64 - linux/arm64