wip12
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
valvin 2022-11-27 17:32:58 +01:00
parent 9fca9bb140
commit b0dc9f19aa
1 changed files with 2 additions and 1 deletions

View File

@ -16,3 +16,4 @@ steps:
- echo $DRONE_WORKSPACE - echo $DRONE_WORKSPACE
- mkdir -p /kanico/.docker - mkdir -p /kanico/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $DRONE_WORKSPACE --dockerfile Dockerfile --destination $CI_REGISTRY_IMAGE:$IMAGE_TAG