magnetar/.woodpecker/ociImagePush.yml

16 lines
363 B
YAML

pipeline:
publish-docker-latest:
image: docker.io/plugins/kaniko
settings:
repo: git.astolfo.cool/natty/magnetar
tags: ${CI_COMMIT_SHA}
dockerfile: Dockerfile
registry: git.astolfo.cool
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event: push
branch: [main]