magnetar/.woodpecker/ociImagePush.yml

16 lines
366 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:
branch: [main]