-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpipeline-descriptor.yml
69 lines (64 loc) · 2.45 KB
/
pipeline-descriptor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
github:
username: ${{ secrets.JAVA_GITHUB_USERNAME }}
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
codeowners:
- path: "*"
owner: "@paketo-buildpacks/java-maintainers"
helpers:
"bin/helper": "$GOMOD/cmd/helper"
package:
repositories: ["docker.io/paketobuildpacks/apache-tomcat","gcr.io/paketo-buildpacks/apache-tomcat"]
register: true
registry_token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
docker_credentials:
- registry: gcr.io
username: _json_key
password: ${{ secrets.GCR_PUSH_BOT_JSON_KEY }}
- registry: docker.io
username: ${{ secrets.PAKETO_BUILDPACKS_DOCKERHUB_USERNAME }}
password: ${{ secrets.PAKETO_BUILDPACKS_DOCKERHUB_PASSWORD }}
dependencies:
- name: Tomcat 9
id: tomcat
version_pattern: "9\\.[\\d]+\\.[\\d]+"
uses: docker://ghcr.io/paketo-buildpacks/actions/tomcat-dependency:main
with:
uri: https://archive.apache.org/dist/tomcat/tomcat-9
- name: Tomcat 10.1
id: tomcat
version_pattern: "10\\.1\\.[\\d]+"
uses: docker://ghcr.io/paketo-buildpacks/actions/tomcat-dependency:main
with:
uri: https://archive.apache.org/dist/tomcat/tomcat-10
version_regex: "(10)\\.(1)\\.([\\d]+)"
- name: Tomcat 11
id: tomcat
version_pattern: "11\\.[\\d]+.[\\d]+"
uses: docker://ghcr.io/paketo-buildpacks/actions/tomcat-dependency:main
with:
uri: https://archive.apache.org/dist/tomcat/tomcat-11
version_regex: "(11)\\.([\\d]+)\\.([\\d]+)"
- id: tomcat-access-logging-support
uses: docker://ghcr.io/paketo-buildpacks/actions/maven-dependency:main
with:
uri: https://repo1.maven.org/maven2
group_id: org.cloudfoundry
artifact_id: tomcat-access-logging-support
version_regex: "^[\\d]+\\.[\\d]+\\.[\\d]+\\.RELEASE$"
source_classifier: sources
- id: tomcat-lifecycle-support
uses: docker://ghcr.io/paketo-buildpacks/actions/maven-dependency:main
with:
uri: https://repo1.maven.org/maven2
group_id: org.cloudfoundry
artifact_id: tomcat-lifecycle-support
version_regex: "^[\\d]+\\.[\\d]+\\.[\\d]+\\.RELEASE$"
source_classifier: sources
- id: tomcat-logging-support
uses: docker://ghcr.io/paketo-buildpacks/actions/maven-dependency:main
with:
uri: https://repo1.maven.org/maven2
group_id: org.cloudfoundry
artifact_id: tomcat-logging-support
version_regex: "^[\\d]+\\.[\\d]+\\.[\\d]+\\.RELEASE$"
source_classifier: sources