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 1 additions and 1 deletions
Showing only changes of commit 84bb494e2f - Show all commits

View File

@ -24,7 +24,7 @@ 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 --no-push - /kaniko/executor --context $DRONE_WORKSPACE --dockerfile Dockerfile --destination $CI_REGISTRY_IMAGE:$IMAGE_TAG
when: when:
branch: branch:
- main - main