We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b60d263 commit 815e545Copy full SHA for 815e545
.woodpecker.yml
@@ -0,0 +1,26 @@
1
+when:
2
+ branch: [develop, master]
3
+ event: push
4
+
5
+steps:
6
+ publish:
7
+ image: eclipse-temurin:25-jdk
8
+ environment:
9
+ REGISTRY_USER:
10
+ from_secret: REGISTRY_USER
11
+ REGISTRY_PASSWORD:
12
+ from_secret: REGISTRY_PASSWORD
13
+ BRANCH_NAME: ${CI_COMMIT_BRANCH}
14
+ commands:
15
+ - ./gradlew jib
16
17
+ redeploy:
18
+ image: alpine
19
+ depends_on: [publish]
20
21
+ WATCHTOWER_TOKEN:
22
+ from_secret: WATCHTOWER_TOKEN
23
24
+ - apk add --no-cache curl
25
+ - "curl -H 'Authorization: Bearer $WATCHTOWER_TOKEN' https://togetherjava.org:5003/v1/update"
26
0 commit comments