diff --git a/.woodpecker.yml b/.woodpecker.yml index a308e8b..f58f2a1 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,11 +4,17 @@ when: steps: - name: build - image: gcr.io/kaniko-project/executor:debug - commands: - - /kaniko/executor --context=dir:///woodpecker/src --dockerfile=Dockerfile --destination=harbor.scottyah.com/scottyah/blog:latest --cache=true --skip-tls-verify - environment: - DOCKER_CONFIG: /root/.docker + image: woodpeckerci/plugin-kaniko + settings: + registry: harbor.scottyah.com + repo: harbor.scottyah.com/scottyah/blog + tags: latest + cache: true + skip_tls_verify: true + username: + from_secret: harbor_username + password: + from_secret: harbor_password - name: deploy image: bitnami/kubectl:latest