set pipeline condition
ci/woodpecker/tag/woodpecker Pipeline failed Szczegóły

main
Mi Klo 2023-07-19 00:39:42 +00:00
rodzic 8aaa068a6f
commit dd89bcb4fd
1 zmienionych plików z 4 dodań i 10 usunięć

Wyświetl plik

@ -1,20 +1,14 @@
#when:
# event: tag
when:
event: tag
steps:
build-push:
image: woodpeckerci/plugin-docker-buildx
settings:
registry: forge.citizen4.eu
repo: forge.citizen4.eu/${CI_REPO_OWNER}/${CI_REPO_NAME}
tags:
# - ${CI_COMMIT_TAG}
- ${CI_COMMIT_SHA:0:10}
- ${CI_COMMIT_TAG}
# - ${CI_COMMIT_SHA:0:10}
- latest
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: subfolder/Dockerfile
context: subfolder