exim-docker/.woodpecker.yml
2024-12-10 13:58:55 +01:00

31 lines
817 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:
registry: quay.io
tags:
- quay.io/wollud1969/exim-docker/latest
- quay.io/wollud1969/exim-docker/${CI_COMMIT_SHA}
- quay.io/wollud1969/exim-docker/${CI_COMMIT_TAG}
username:
from_secret: quay_username
password:
from_secret: quay_password
dockerfile: Dockerfile
when:
- event: [tag]