-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipeline.yml
38 lines (36 loc) · 896 Bytes
/
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
resources:
- name: tutorial
type: git
source:
uri: [email protected]:niharbabu99/docker-upload.git
branch: master
private_key: ((p_key))
- name: hello-world-docker-image
type: docker-image
source:
email: ((docker-hub-email))
username: ((docker-hub-username))
password: ((docker-hub-password))
repository: ((docker-hub-username))/concourse-tutorial-hello-world
jobs:
- name: publish
public: true
plan:
- get: tutorial
- put: hello-world-docker-image
params:
build: tutorial/docker
tag_prefix: testing
tag: tutorial/docker/tagfile
- task: run
config:
platform: linux
image_resource:
type: docker-image
source:
repository: ((docker-hub-username))/concourse-tutorial-hello-world
run:
path: /bin/hello-world
args: []
params:
NAME: ((docker-hub-username))