magnetar/.woodpecker/ociImagePush.yml

17 lines
380 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
branches: [main]
when:
event: push
branch: [main]