-
Notifications
You must be signed in to change notification settings - Fork 20
/
pipeline.yaml
45 lines (45 loc) · 1.36 KB
/
pipeline.yaml
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
resources:
- name: distrolessGithubRepo
type: GitRepo
configuration:
gitProvider: DistrolessGithub
path: jfrog/jfrog-distroless
branches:
include: ^{{gitBranch}}$
- name: distrolessArtifactory
type: BuildInfo
configuration:
sourceArtifactory: PartnershipArtifactory
buildName: docker_build
buildNumber: 1
pipelines:
- name: distroless_docker_build_push
steps:
- name: docker_build
type: DockerBuild
configuration:
affinityGroup: dockerGroup
dockerFileLocation: customize-example
dockerFileName: Dockerfile.redhat-ubi-rt7
dockerImageName: 'partnership-jfrog-artifactory.jfrog.io/artifactory-rh-ubi'
dockerImageTag: ${run_number}
inputResources:
- name: distrolessGithubRepo
integrations:
- name: PartnershipArtifactory
- name: docker_push
type: DockerPush
configuration:
affinityGroup: dockerGroup
targetRepository: jfrog-artifactory
integrations:
- name: PartnershipArtifactory
inputSteps:
- name: docker_build
- name: publish_build_info
type: PublishBuildInfo
configuration:
inputSteps:
- name: docker_push
outputResources:
- name: distrolessArtifactory