magnetar/.woodpecker/ociImagePush.yml

18 lines
383 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]
branches: [main]