From 3938bcdf92cb0a0ac5cc446101c05468e0de478e Mon Sep 17 00:00:00 2001 From: Ryan Harg Date: Fri, 22 Nov 2024 09:03:09 +0100 Subject: [PATCH] Pass registry url to pipeline --- .woodpecker/push-image.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker/push-image.yml b/.woodpecker/push-image.yml index 5ac1499..3983e5d 100644 --- a/.woodpecker/push-image.yml +++ b/.woodpecker/push-image.yml @@ -9,8 +9,10 @@ steps: from_secret: registry_username REGISTRY_PASSWORD: from_secret: registry_password + REGISTRY_URL: + from_secret: registry_url 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 image: deblan/woodpecker-email