Files
scottyah-blog/.woodpecker.yml
Scott Hatlen cb49368736
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
different cred scheme
2025-10-18 00:00:16 -07:00

33 lines
799 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
dockerfile: Dockerfile
context: .
cache: true
cache_repo: harbor.scottyah.com/scottyah/blog-cache
skip_tls_verify: true
reproducible: true
cleanup: true
verbosity: info
skip_unused_stages: 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