Compare commits

..

2 commits

Author SHA1 Message Date
3938bcdf92 Pass registry url to pipeline
Some checks failed
ci/woodpecker/push/build Pipeline failed
2024-11-22 09:03:09 +01:00
0b38ee3403 Introduce project property for image registry 2024-11-22 09:01:26 +01:00
2 changed files with 4 additions and 2 deletions

View file

@ -9,8 +9,10 @@ steps:
from_secret: registry_username from_secret: registry_username
REGISTRY_PASSWORD: REGISTRY_PASSWORD:
from_secret: registry_password from_secret: registry_password
REGISTRY_URL:
from_secret: registry_url
commands: commands:
- ./gradlew jib -Papp.version=${CI_COMMIT_TAG} -Pdocker.repo.username=$${REGISTRY_USERNAME} -Pdocker.repo.password=$${REGISTRY_PASSWORD} - ./gradlew jib -Papp.version=${CI_COMMIT_TAG} -Pdocker.repo.username=$${REGISTRY_USERNAME} -Pdocker.repo.password=$${REGISTRY_PASSWORD} -Pregistry.fqdn=$${REGISTRY_URL}
- name: notify - name: notify
image: deblan/woodpecker-email image: deblan/woodpecker-email

View file

@ -27,7 +27,7 @@ repositories {
jib { jib {
to { to {
image = "registry.azw27.de/github-release-bot/github-release-bot" image = "${project.property("registry.fqdn")}/github-release-bot/github-release-bot"
tags = if (project.hasProperty("app.version")) { tags = if (project.hasProperty("app.version")) {
setOf("v" + project.property("app.version").toString()) setOf("v" + project.property("app.version").toString())