From 48e8b21c30c519fee3dd5f455e1f05fac7d9e1fb Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Tue, 11 Jul 2023 17:35:57 +0200 Subject: [PATCH] build: Change kaniko auth config to explicit registry v2 api --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1dbf37a..cc4ac68 100644 --- a/.drone.yml +++ b/.drone.yml @@ -66,7 +66,7 @@ steps: wget https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 -O /bin/jq chmod +x /bin/jq - | - /bin/jq '.auths["bv11-cr01.bessems.eu"].auth="'"$(echo $DOCKER_USERNAME':'$DOCKER_PASSWORD | base64)"'"' --null-input > /kaniko/.docker/config.json + /bin/jq '.auths["https://bv11-cr01.bessems.eu/v2"].auth="'"$(echo $DOCKER_USERNAME':'$DOCKER_PASSWORD | base64)"'"' --null-input > /kaniko/.docker/config.json - | /kaniko/executor \ --dockerfile=Dockerfile \