forked from sooraj-sky/sky-meter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
concourse-pipeline.yaml
47 lines (42 loc) · 942 Bytes
/
concourse-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: sky-meter-git
icon: github
type: git
source:
uri: https://github.com/sooraj-sky/sky-meter.git
branch: main
git_config:
- name: safe.directory
value: /tmp/build/get
- name: sky-meter-docker-image
type: registry-image
icon: docker
source:
username: ((docker-hub-username))
password: ((docker-hub-password))
repository: ((docker-hub-username))/sky-meter
jobs:
- name: build-and-push
plan:
- get: sky-meter-git
trigger: true
- task: build-task-image
privileged: true
config:
platform: linux
image_resource:
type: registry-image
source:
repository: concourse/oci-build-task
inputs:
- name: sky-meter-git
outputs:
- name: image
params:
CONTEXT: sky-meter-git
run:
path: build
- put: sky-meter-docker-image
params:
image: image/image.tar
version: 2.0.0