drone: Switch templates to drone-kaniko plugin

This commit is contained in:
Lauri Võsandi 2022-10-12 14:24:31 +03:00
parent bac5040d2a
commit d20fdf350d

View File

@ -77,14 +77,11 @@ steps:
- echo "ENV GIT_COMMIT_TIMESTAMP=$(git log -1 --format=%cd --date=iso-strict)" >> Dockerfile - echo "ENV GIT_COMMIT_TIMESTAMP=$(git log -1 --format=%cd --date=iso-strict)" >> Dockerfile
- cat Dockerfile - cat Dockerfile
- name: docker - name: docker
image: plugins/docker image: harbor.k-space.ee/k-space/drone-kaniko
settings: settings:
repo: harbor.k-space.ee/${DRONE_REPO} repo: ${DRONE_REPO}
tags: latest-arm64 tags: latest-arm64
registry: harbor.k-space.ee registry: harbor.k-space.ee
squash: true
experimental: true
mtu: 1300
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
@ -109,14 +106,11 @@ steps:
- echo "ENV GIT_COMMIT_TIMESTAMP=$(git log -1 --format=%cd --date=iso-strict)" >> Dockerfile - echo "ENV GIT_COMMIT_TIMESTAMP=$(git log -1 --format=%cd --date=iso-strict)" >> Dockerfile
- cat Dockerfile - cat Dockerfile
- name: docker - name: docker
image: plugins/docker image: harbor.k-space.ee/k-space/drone-kaniko
settings: settings:
repo: harbor.k-space.ee/${DRONE_REPO} repo: ${DRONE_REPO}
tags: latest-amd64 tags: latest-amd64
registry: harbor.k-space.ee registry: harbor.k-space.ee
squash: true
experimental: true
mtu: 1300
storage_driver: vfs storage_driver: vfs
username: username:
from_secret: docker_username from_secret: docker_username
@ -130,8 +124,8 @@ steps:
- name: manifest - name: manifest
image: plugins/manifest image: plugins/manifest
settings: settings:
target: harbor.k-space.ee/${DRONE_REPO}:latest target: ${DRONE_REPO}:latest
template: harbor.k-space.ee/${DRONE_REPO}:latest-ARCH template: ${DRONE_REPO}:latest-ARCH
platforms: platforms:
- linux/amd64 - linux/amd64
- linux/arm64 - linux/arm64