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)
|
- name: Container image (docker.io)
|
||||||
depends_on:
|
depends_on:
|
||||||
- Semantic Release (Dry-run)
|
- Semantic Release (Dry-run)
|
||||||
image: plugins/kaniko
|
image: gcr.io/kaniko-project/executor:debug
|
||||||
pull: always
|
pull: always
|
||||||
context: .
|
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
/kaniko-executor
|
jq '.auths["bv11-cr01.bessems.eu"].auth="'"$(echo $DOCKER_USERNAME':'$DOCKER_PASSWORD | base64)"'"' --null-input > /kaniko/.docker/config.json
|
||||||
settings:
|
- |
|
||||||
repo: index.docker.io/djpbessems/json-server
|
/kaniko/executor \
|
||||||
registry: https://index.docker.io/v1/
|
--dockerfile=Dockerfile \
|
||||||
tags: latest
|
--context=dir://. \
|
||||||
username:
|
--destination=bv11-cr01.bessems.eu/library/json-server:latest
|
||||||
|
environment:
|
||||||
|
DOCKER_USERNAME:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
DOCKER_PASSWORD:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
|
|
||||||
- name: Helm chart (Gitea)
|
- name: Helm chart (Gitea)
|
||||||
|
Loading…
Reference in New Issue
Block a user