plugin-sonar/.woodpecker/build.yml
Michael Amann a018f7b8fd
Some checks failed
ci/woodpecker/push/build Pipeline failed
retry with branch
2022-10-31 19:24:47 +01:00

48 lines
1.2 KiB
YAML

pipeline:
sonar-tests:
image: git.kle.li/woodpecker/plugin-sonar:manual
settings:
sonar_url: https://sonar.kle.li
sonar_token:
from_secret: sonar_token
sonar_key: ${CI_REPO_OWNER}:${CI_REPO_NAME}
sonar_quality_enabled: true
branchanalysis: auto
publish-docker-branch-image:
group: build
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.kle.li/${CI_REPO}
platforms: linux/amd64
tag: ${CI_COMMIT_BRANCH}
dockerfile: Dockerfile
registry: git.kle.li
username:
from_secret: gitea_user
password:
from_secret: gitea_token
when:
branch: [main, test, dev, release/*]
path:
exclude: ["*.md", "docs/**"]
ignore_message: "[FORCE CI]"
publish-docker-tag-image:
group: build
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.kle.li/${CI_REPO}
platforms: linux/amd64
tag: ${CI_COMMIT_TAG}
dockerfile: Dockerfile
registry: git.kle.li
username:
from_secret: gitea_user
password:
from_secret: gitea_token
when:
event: tag
path:
exclude: ["*.md", "docs/**"]
ignore_message: "[FORCE CI]"