Files
weatherapi/.woodpecker/build-image.yml
Eric Rakestraw d55b4be7ec
Some checks failed
ci/woodpecker/push/build-image Pipeline failed
Updated Dockerfile and woodpecker to use private Gitea login credentials
2026-03-19 21:09:10 -05:00

26 lines
680 B
YAML

when:
# Allow both normal runs (push) and UI-triggered runs (manual)
- event: [push, manual]
steps:
- name: build-and-push-image
image: harbor.maximumdirect.net/proxy-dockerhub/woodpeckerci/plugin-kaniko
environment:
GITEA_USER:
from_secret: GITEA_USER
GITEA_TOKEN:
from_secret: GITEA_TOKEN
settings:
registry: harbor.maximumdirect.net
repo: build/weatherapi
auto_tag: true
build_args_from_env:
- GITEA_USER
- GITEA_TOKEN
username:
from_secret: HARBOR_ROBOT_USER
password:
from_secret: HARBOR_ROBOT_TOKEN
cache: true
cache_repo: build-cache/weatherapi