build: Test build with original kaniko container image
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Danny Bessems 2023-07-11 17:19:16 +02:00
parent 2c749e2077
commit a12ce0a9e9
1 changed files with 10 additions and 9 deletions

View File

@ -59,19 +59,20 @@ steps:
- name: Container image (docker.io)
depends_on:
- Semantic Release (Dry-run)
image: plugins/kaniko
image: gcr.io/kaniko-project/executor:debug
pull: always
context: .
commands:
- |
/kaniko-executor
settings:
repo: index.docker.io/djpbessems/json-server
registry: https://index.docker.io/v1/
tags: latest
username:
jq '.auths["bv11-cr01.bessems.eu"].auth="'"$(echo $DOCKER_USERNAME':'$DOCKER_PASSWORD | base64)"'"' --null-input > /kaniko/.docker/config.json
- |
/kaniko/executor \
--dockerfile=Dockerfile \
--context=dir://. \
--destination=bv11-cr01.bessems.eu/library/json-server:latest
environment:
DOCKER_USERNAME:
from_secret: docker_username
password:
DOCKER_PASSWORD:
from_secret: docker_password
- name: Helm chart (Gitea)