pipeline: docker: image: woodpeckerci/plugin-docker-buildx settings: username: from_secret: registry_username password: from_secret: registry_password repo: ${DOCKER_REGISTRY}/${CI_REPO_OWNER}/pyload-ng registry: ${DOCKER_REGISTRY} mirror: https://${DOCKER_REGISTRY} tags: latest build_args: VERSION=dev when: branch: main event: [push, cron, tag] prod: image: dtzar/helm-kubectl:3.10.3 commands: - HOME=/root - mkdir -p /root/.kube - echo "$KUBE_CONFIG" > /root/.kube/config - kubectl rollout restart deployment/pyload secrets: [kube_config] when: branch: main event: [deployment, cron]