-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-and-push-image2.yml
More file actions
46 lines (43 loc) · 1.18 KB
/
build-and-push-image2.yml
File metadata and controls
46 lines (43 loc) · 1.18 KB
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
---
resources:
# The repo with our Dockerfile
- name: concourse-examples
type: git
icon: github
source:
uri: https://github.com/concourse/examples.git
branch: master
- name: concourse-tutorial-tnoviello
type: git
icon: github
source:
uri: https://github.ibm.com/Teresa-Noviello/concourse-tutorial.git
username: teresanovielloatinstana
private_key: (private-key-json)
branch: (branch)
- name: concourse-image
type: registry-image
icon: docker
source:
repository: containers.instana.io/instana/concourse-tutorial
tag: latest
username: ((containers-instana-io-creds.username))
password: ((containers-instana-io-creds.password))
jobs:
- name: build-and-push-image
plan:
- get: concourse-examples
- get: concourse-tutorial-tnoviello
- task: build-task-image
params:
CONTEXT: concourse-examples/Dockerfiles/simple
UNPACK_ROOTFS: "true" # only needed if using image in a future step
privileged: true
file: concourse-tutorial-tnoviello/tasks/build-task.yml
input_mapping:
concourse-examples: concourse-examples
output_mapping:
image: image
- put: concourse-image
params:
image: image/image.tar