Files
bin/.woodpecker.yml
Kellen Renshaw 8353c82b63
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Added Woodpecker CI config
Signed-off-by: Kellen Renshaw <kellen@bluequartz.xyz>
2022-10-12 21:38:22 -07:00

18 lines
622 B
YAML

# Pushes a Docker image without needing access to the Docker daemon
#
# Pushing an image to a container registry authenticated:
# DOCKER_USERNAME - Woodpecker CI Secret which is the container registry username
# DOCKER_PASSWORD - Woodpecker CI Secret which is container registry password
pipeline:
publish-docker-image:
image: plugins/kaniko
settings:
repo: core.harbor.0.tus.us.bluequartz.xyz/k8s/bin
tags: latest,v2.0.0-${CI_COMMIT_SHA:0:8}
dockerfile: Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password
branches: master