Compare commits
2 commits
9e0ddfa4ba
...
3938bcdf92
Author | SHA1 | Date | |
---|---|---|---|
3938bcdf92 | |||
0b38ee3403 |
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue