diff --git a/.woodpecker/push-image.yml b/.woodpecker/push-image.yml
new file mode 100644
index 0000000..2477ab3
--- /dev/null
+++ b/.woodpecker/push-image.yml
@@ -0,0 +1,30 @@
+when:
+ - event: tag
+
+steps:
+ - name: push-image
+ image: eclipse-temurin:21-jdk-alpine
+ environment:
+ REGISTRY_USERNAME:
+ from_secret: registry_username
+ REGISTRY_PASSWORD:
+ from_secret: registry_password
+ commands:
+ - ./mvnw compile jib-maven-plugin:build -Ddocker.repo.username=$${REGISTRY_USERNAME} -Ddocker.repo.password=$${REGISTRY_PASSWORD}
+
+ - name: notify
+ image: deblan/woodpecker-email
+ settings:
+ debug: true
+ dsn:
+ from_secret: smtp_url
+ from:
+ address:
+ from_secret: email_sender
+ name: "Woodpecker CI"
+ recipients_only: true
+ recipients:
+ from_secret: email_recipient
+ when:
+ status:
+ - failure
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 7ca2f3c..f7b5732 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,8 +19,19 @@
5.14.1
3.26.3
3.6.2
+ 3.4.4
+
+
+ 2.1.0
+ 3.1.1
+
+ scm:git:ssh://git@git.azw27.de:ryan_harg/ddns-client.git
+ scm:git:ssh://git@git.azw27.de:ryan_harg/ddns-client.git
+ https://git.azw27.de/ryan_harg/ddns-client
+
+
@@ -149,7 +160,45 @@
+
+
+ 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-scm-plugin
+ ${maven-scm-plugin.version}
+
+ developerConnection
+
+
+
+ org.apache.maven.plugins
+ maven-release-plugin
+ ${maven-release-plugin.version}
+
+ true
+
+
-
+