--- kind: pipeline type: kubernetes name: Build Docker image trigger: branch: - main - staging steps: - name: kaniko image: plugins/kaniko settings: enable-cache: true username: from_secret: REGISTRY_USER password: from_secret: REGISTRY_PASSWORD registry: https://registry.voidcorp.nl/ repo: registry.voidcorp.nl/library/galerie tags: ${DRONE_COMMIT_BRANCH}