wip2
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
valvin 2022-11-28 22:00:09 +01:00
parent 52833571c2
commit 84bb494e2f
1 changed files with 1 additions and 1 deletions

View File

@ -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