diff --git a/.drone.yml b/.drone.yml index 8791104..74e85af 100644 --- a/.drone.yml +++ b/.drone.yml @@ -51,7 +51,7 @@ steps: wget https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 -qO /bin/jq chmod +x /bin/jq - | - /bin/jq '.auths["https://bv11-cr01.bessems.eu/v2/"].auth="'"$(echo -n $DOCKER_USERNAME':'$DOCKER_PASSWORD | base64)"'"' --null-input > /kaniko/.docker/config.json + /bin/jq '.auths["https://bv11-cr01.bessems.eu/v2/"].auth="'"$(echo -n $HARBOR_USERNAME':'$HARBOR_PASSWORD | base64)"'"' --null-input > /kaniko/.docker/config.json - | export IMAGE_TAG=$(cat .version) - | @@ -61,9 +61,9 @@ steps: --destination=bv11-cr01.bessems.eu/library/json-server:latest \ --destination=bv11-cr01.bessems.eu/library/json-server:$IMAGE_TAG environment: - DOCKER_USERNAME: + HARBOR_USERNAME: from_secret: harbor_username - DOCKER_PASSWORD: + HARBOR_PASSWORD: from_secret: harbor_password - name: Container image (docker.io)