chore: add drone file #1

Merged
valvin merged 17 commits from chore/drone into main 2022-11-28 21:19:27 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 2d3b405e4a - Show all commits

View File

@ -14,6 +14,6 @@ steps:
commands: commands:
- echo "init registry credentials" - echo "init registry credentials"
- mkdir -p /kaniko/.docker - mkdir -p /kaniko/.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 ${DRONE_WORKSPACE}/Dockerfile --destination ${CI_REGISTRY_IMAGE}:${IMAGE_TAG} - /kaniko/executor --context ${DRONE_WORKSPACE} --dockerfile ${DRONE_WORKSPACE}/Dockerfile --destination ${CI_REGISTRY_IMAGE}:${IMAGE_TAG}