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 64bb279Copy full SHA for 64bb279
.woodpecker.yml
@@ -0,0 +1,29 @@
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
+ - echo ${CI_COMMIT_BRANCH}
18
+ - ./gradlew jib
19
20
+ redeploy:
21
+ image: alpine
22
+ depends_on:
23
+ - publish
24
25
+ WATCHTOWER_TOKEN:
26
+ from_secret: WATCHTOWER_TOKEN
27
28
+ - apk add --no-cache curl
29
+ - "curl -H 'Authorization: Bearer $WATCHTOWER_TOKEN' https://togetherjava.org:5003/v1/update"
0 commit comments