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