diff --git a/.woodpecker/push-image.yml b/.woodpecker/push-image.yml index 2477ab3..f0c4b62 100644 --- a/.woodpecker/push-image.yml +++ b/.woodpecker/push-image.yml @@ -10,7 +10,7 @@ steps: REGISTRY_PASSWORD: from_secret: registry_password commands: - - ./mvnw compile jib-maven-plugin:build -Ddocker.repo.username=$${REGISTRY_USERNAME} -Ddocker.repo.password=$${REGISTRY_PASSWORD} + - ./mvnw clean install -Dquarkus.container-image.push=true -Dquarkus.container-image.image=$${REGISTRY_URL}/ddnsclient/ddnsclient -Dquarkus.container-image.additional-tags=v1.0.0 -Dquarkus.container-image.username=$${REGISTRY_USERNAME} -Dquarkus.container-image.password=$${REGISTRY_PASSWORD} - name: notify image: deblan/woodpecker-email diff --git a/pom.xml b/pom.xml index fd87931..f78f329 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 de.rpr ddnsclient @@ -18,9 +19,6 @@ 5.14.1 3.26.3 3.6.2 - 3.4.4 - - 2.1.0 3.1.1 git-azw27-de @@ -29,8 +27,8 @@ scm:git:https://git.azw27.de/ryan_harg/ddns-client.git scm:git:https://git.azw27.de/ryan_harg/ddns-client.git - HEAD - + HEAD + @@ -72,6 +70,10 @@ dnsjava ${dnsjava.version} + + io.quarkus + quarkus-container-image-jib + io.quarkus quarkus-junit5 @@ -90,8 +92,8 @@ org.assertj assertj-core - test ${assertj.version} + test org.mockito @@ -160,28 +162,6 @@ - - - com.google.cloud.tools - jib-maven-plugin - ${jib.version} - - - registry.azw27.de/ddnsclient/ddnsclient - - v${project.version} - latest - - - ${docker.repo.username} - ${docker.repo.password} - - - - USE_CURRENT_TIMESTAMP - - - org.apache.maven.plugins maven-release-plugin