build: Test build with original kaniko container image
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
2c749e2077
commit
a12ce0a9e9
19
.drone.yml
19
.drone.yml
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user