build: Remove registry from destination
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Danny Bessems 2023-07-11 17:40:32 +02:00
parent 78cb46795f
commit 3501cd51f3
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ steps:
pull: always
commands:
- |
wget https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 -O /bin/jq
wget https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 -qO /bin/jq
chmod +x /bin/jq
- |
/bin/jq '.auths["https://index.docker.io/v1/"].auth="'"$(echo $DOCKER_USERNAME':'$DOCKER_PASSWORD | base64)"'"' --null-input > /kaniko/.docker/config.json
@ -71,7 +71,7 @@ steps:
/kaniko/executor \
--dockerfile=Dockerfile \
--context=dir://. \
--destination=index.docker.io/djpbessems/json-server:latest
--destination=djpbessems/json-server:latest
environment:
DOCKER_USERNAME:
from_secret: docker_username