-
Notifications
You must be signed in to change notification settings - Fork 1
/
pipeline.yml
41 lines (39 loc) · 1.05 KB
/
pipeline.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
resources:
- name: artifactory-resource-source
type: git
icon: github
source:
uri: https://github.com/instana/artifactory-resource.git
branch: ((branch))
- name: artifactory-resource-image-icr
type: registry-image
icon: docker
source:
repository: icr.io/instana/artifactory-resource
username: iamapikey
password: ((concourse-icr-containers-public.password))
tag: latest
jobs:
- name: build-and-publish
plan:
- get: artifactory-resource-source
trigger: true
- task: image-build
privileged: true
config:
platform: linux
image_resource:
type: registry-image
source:
repository: concourse/oci-build-task
inputs:
- name: artifactory-resource-source
outputs:
- name: image
params:
CONTEXT: artifactory-resource-source
run:
path: build
- put: artifactory-resource-image-icr
params:
image: image/image.tar