2 Commits

Author SHA1 Message Date
48e8b21c30 build: Change kaniko auth config to explicit registry v2 api
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-11 17:35:57 +02:00
b19a3f7391 build: Remove redundant apk repository commands 2023-07-11 17:30:23 +02:00

View File

@ -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 \
@ -85,8 +85,7 @@ steps:
pull: always
commands:
- |
echo '$MIRROR/alpine/edge/community' >> /etc/apk/repositories
apk update && apk add \
apk add \
yq
- |
helm package ./charts/json-server