We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fb5436 commit ffb8cfbCopy full SHA for ffb8cfb
.github/workflows/docker-publish.yaml
.woodpecker.yml
@@ -0,0 +1,29 @@
1
+when:
2
+ branch:
3
+ - master
4
+ event: push
5
+
6
+steps:
7
+ publish:
8
+ image: eclipse-temurin:21-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