chore: add drone file #1
|
@ -24,7 +24,7 @@ steps:
|
|||
- echo $DRONE_WORKSPACE
|
||||
- mkdir -p /kanico/.docker
|
||||
- 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:
|
||||
branch:
|
||||
- main
|
||||
|
|
Loading…
Reference in New Issue