diff --git a/.drone.yml b/.drone.yml index bdeef66..dfea6d0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,7 +27,7 @@ steps: - git submodule update --init --recursive - name: kaniko nocr telegram listener build & push - image: banzaicloud/drone-kaniko + image: plugins/kaniko settings: registry: hub.musk.fun repo: hub.musk.fun/k8s/nocr/telegram_listener @@ -35,28 +35,26 @@ steps: context: ./flea/telegram-listener dockerfile: ./flea/telegram-listener/src/Nocr.TelegramListener.Host/Dockerfile cache: true - skip_tls_verify: true username: from_secret: hub_username password: from_secret: hub_password -# build_args: -# - --cache=true --cache-dir=/cache -# volumes: -# - name: local-cache -# path: /cache + # build_args: + # - --cache=true --cache-dir=/cache + volumes: + - name: local-cache + path: /cache # depends_on: # - clone - name: kaniko nocr text matcher build & push - image: banzaicloud/drone-kaniko + image: plugins/kaniko settings: registry: hub.musk.fun repo: hub.musk.fun/k8s/nocr/text_matcher tags: ["${DRONE_COMMIT_SHA:0:7}", "latest"] context: ./flea/text-matcher dockerfile: ./flea/text-matcher/src/Nocr.TextMatcher.Host/Dockerfile - cache: true username: from_secret: hub_username password: @@ -70,14 +68,13 @@ steps: # - clone - name: kaniko nocr users build & push - image: banzaicloud/drone-kaniko + image: plugins/kaniko settings: registry: hub.musk.fun repo: hub.musk.fun/k8s/nocr/text_matcher tags: ["${DRONE_COMMIT_SHA:0:7}", "latest"] context: ./flea/users dockerfile: ./flea/users/src/Nocr.Users.Host/Dockerfile - cache: true username: from_secret: hub_username password: @@ -91,14 +88,13 @@ steps: # - clone - name: kaniko nocr telegram client build & push - image: banzaicloud/drone-kaniko + image: plugins/kaniko settings: registry: hub.musk.fun repo: hub.musk.fun/k8s/nocr/telegram_client tags: ["${DRONE_COMMIT_SHA:0:7}", "latest"] context: ./flea/telegram-client dockerfile: ./flea/telegram-client/src/Nocr.TelegramClient.Host/Dockerfile - cache: true username: from_secret: hub_username password: @@ -112,14 +108,13 @@ steps: # - clone - name: kaniko nocr text matcher migrator build & push - image: banzaicloud/drone-kaniko + image: plugins/kaniko settings: registry: hub.musk.fun repo: hub.musk.fun/k8s/nocr/text_matcher_migrator tags: ["${DRONE_COMMIT_SHA:0:7}", "latest"] context: ./flea/text-matcher/ dockerfile: ./flea/text-matcher/src/Nocr.TextMatcher.Migrator/Dockerfile - cache: true username: from_secret: hub_username password: @@ -133,14 +128,13 @@ steps: # - clone - name: kaniko nocr users migrator build & push - image: banzaicloud/drone-kaniko + image: plugins/kaniko settings: registry: hub.musk.fun repo: hub.musk.fun/k8s/nocr/users_migrator tags: ["${DRONE_COMMIT_SHA:0:7}", "latest"] context: ./flea/users/ dockerfile: ./flea/users/src/Nocr.Users.Migrator/Dockerfile - cache: true username: from_secret: hub_username password: