diff --git a/.woodpecker.yml b/.woodpecker.yml index b57b1a5..705c32e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,20 +3,21 @@ when: event: push steps: - - name: login-registry - image: alpine:3.20 - commands: - - echo "${REGISTRY_PASSWORD}" | docker login registry.nxtgauge.com -u "${REGISTRY_USERNAME}" --password-stdin - - name: build-and-push - image: docker:28-cli - volumes: - - /var/run/docker.sock:/var/run/docker.sock - environment: - REGISTRY_USERNAME: + image: woodpeckerci/plugin-kaniko:2.1.1 + settings: + registry: registry.nxtgauge.com + repo: nxtgauge-ai-assistant + dockerfile: Dockerfile + tags: + - latest + - high-performance-latest + username: from_secret: REGISTRY_USERNAME - REGISTRY_PASSWORD: + password: from_secret: REGISTRY_PASSWORD - commands: - - docker build -t registry.nxtgauge.com/nxtgauge-ai-assistant:latest -f Dockerfile . - - docker push registry.nxtgauge.com/nxtgauge-ai-assistant:latest + insecure: true + insecure_pull: true + skip_tls_verify: true + platforms: linux/amd64 + cache: false