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 ac53ae7Copy full SHA for ac53ae7
.woodpecker.yml
@@ -0,0 +1,28 @@
1
+when:
2
+ branch:
3
+ - develop
4
+ - master
5
+ event: push
6
+
7
+steps:
8
+ publish:
9
+ image: eclipse-temurin:25-jdk
10
+ environment:
11
+ REGISTRY_USER:
12
+ from_secret: REGISTRY_USER
13
+ REGISTRY_PASSWORD:
14
+ from_secret: REGISTRY_PASSWORD
15
+ BRANCH_NAME: ${CI_COMMIT_BRANCH}
16
+ commands:
17
+ - ./gradlew jib
18
19
+ redeploy:
20
+ image: alpine
21
+ depends_on: [publish]
22
23
+ WATCHTOWER_TOKEN:
24
+ from_secret: WATCHTOWER_TOKEN
25
26
+ - apk add --no-cache curl
27
+ - "curl -H 'Authorization: Bearer $WATCHTOWER_TOKEN' https://togetherjava.org:5003/v1/update"
28
0 commit comments