Files
scottyah-blog/.woodpecker.yml
Scott Hatlen db6b2652e9
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
different cred scheme
2025-10-17 23:56:06 -07:00

26 lines
597 B
YAML

when:
event: push
branch: main
steps:
- name: build
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
commands:
- kubectl apply -f k8s.yaml -n blog
- kubectl rollout status deployment/blog-dep -n blog
environment:
KUBECONFIG:
from_secret: kubeconfig