exim-docker/.woodpecker.yml
Wolfgang Hottgenroth 4ed5e7562a
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
woodpecker and hub.docker.com integration
2024-12-10 13:39:57 +01:00

29 lines
742 B
YAML

steps:
build:
image: plugins/kaniko
settings:
repo: ${FORGE_NAME}/${CI_REPO}
registry:
from_secret: container_registry
tags: latest,${CI_COMMIT_SHA},${CI_COMMIT_TAG}
username:
from_secret: container_registry_username
password:
from_secret: container_registry_password
dockerfile: Dockerfile
when:
- event: [push, tag]
public_build:
image: plugins/kaniko
settings:
repo: wollud1969/exim-docker
registry: docker.io
tags: latest,${CI_COMMIT_SHA},${CI_COMMIT_TAG}
username:
from_secret: docker_hub_username
password:
from_secret: docker_hub_password
dockerfile: Dockerfile
when:
- event: [tag]