ci-test/.woodpecker.yml

20 wiersze
481 B
YAML

when:
event: tag
steps:
build-push:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
username: ${DOCKER_USERNAME}
password: ${DOCKER_PASSWORD}
registry: forge.citizen4.eu
repo: forge.citizen4.eu/${CI_REPO_OWNER}/${CI_REPO_NAME}
tags:
- ${CI_COMMIT_TAG}
# - ${CI_COMMIT_SHA:0:10}
- latest
dockerfile: subfolder/Dockerfile
context: subfolder