Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
2d48254d57 | |||
c325e9e3a2 | |||
ec44cd9929 | |||
88351cc9b7 |
1 changed files with 18 additions and 11 deletions
|
@ -1,13 +1,20 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
sonar-tests:
|
# sonar-tests:
|
||||||
image: git.kle.li/woodpecker/plugin-sonar:manual
|
# image: git.kle.li/woodpecker/plugin-sonar:manual
|
||||||
settings:
|
# settings:
|
||||||
sonar_url: https://sonar.kle.li
|
# sonar_url: https://sonar.kle.li
|
||||||
sonar_token:
|
# sonar_token:
|
||||||
from_secret: sonar_token
|
# from_secret: sonar_token
|
||||||
sonar_key: ${CI_REPO_OWNER}:${CI_REPO_NAME}
|
# sonar_key: ${CI_REPO_OWNER}:${CI_REPO_NAME}
|
||||||
sonar_quality_enabled: true
|
# sonar_quality_enabled: true
|
||||||
branchanalysis: auto
|
# branchanalysis: auto
|
||||||
|
|
||||||
|
debug:
|
||||||
|
image: busybox
|
||||||
|
commands:
|
||||||
|
- env
|
||||||
|
- echo ${CI_COMMIT_BRANCH}
|
||||||
|
- echo ${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:8}
|
||||||
|
|
||||||
publish-docker-branch-image:
|
publish-docker-branch-image:
|
||||||
group: build
|
group: build
|
||||||
|
@ -15,7 +22,7 @@ pipeline:
|
||||||
settings:
|
settings:
|
||||||
repo: git.kle.li/${CI_REPO}
|
repo: git.kle.li/${CI_REPO}
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: ${CI_COMMIT_BRANCH}, ${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:8}
|
tags: ${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:8}
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
registry: git.kle.li
|
registry: git.kle.li
|
||||||
username:
|
username:
|
||||||
|
@ -34,7 +41,7 @@ pipeline:
|
||||||
settings:
|
settings:
|
||||||
repo: git.kle.li/${CI_REPO}
|
repo: git.kle.li/${CI_REPO}
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: ${CI_COMMIT_TAG}
|
tag: ${CI_COMMIT_TAG}
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
registry: git.kle.li
|
registry: git.kle.li
|
||||||
username:
|
username:
|
||||||
|
|
Loading…
Add table
Reference in a new issue