Fix(drone): Kaniko container detection via env

This commit is contained in:
nold 2022-09-20 09:04:25 +02:00
parent 2c76a45aca
commit b03b223623

View file

@ -6,6 +6,9 @@ type: kubernetes
steps: steps:
- name: build-bookworm - name: build-bookworm
image: plugins/kaniko image: plugins/kaniko
environment:
# Workaround for Kanikos container detection
container: docker
settings: settings:
username: username:
from_secret: docker_username from_secret: docker_username
@ -21,6 +24,9 @@ steps:
- name: build-bullseye - name: build-bullseye
image: plugins/kaniko image: plugins/kaniko
environment:
# Workaround for Kanikos container detection
container: docker
settings: settings:
username: username:
from_secret: docker_username from_secret: docker_username
@ -37,6 +43,9 @@ steps:
- name: build-buster - name: build-buster
image: plugins/kaniko image: plugins/kaniko
environment:
# Workaround for Kanikos container detection
container: docker
settings: settings:
username: username:
from_secret: docker_username from_secret: docker_username