-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample_push.yaml
More file actions
33 lines (32 loc) · 988 Bytes
/
sample_push.yaml
File metadata and controls
33 lines (32 loc) · 988 Bytes
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
# You can either use this individual push.yaml file or
# specify the push specifications in the global spec.yaml
# push the images to registries
push:
- registry: abc.com
user: art
image: my-awesome-build-ubuntu-xenial
tag: v0.1.0
# optional. if you haven't provided the login in top level login, you can do it here.
login:
# either refer a K8s secret or plain credentials or use env vars
k8s:
username:
name: secret-containing-the-key
key: key-within-the-secret
password:
name: secret-containing-the-password
key: key-within-the-password
inline:
username: cool-username
password: top-secret-password
env:
username: $COOL_USERNAME
password: $TOP_SECRET_PASSWORD
- registry: abc.com
user: art
image: my-awesome-build-2-ubuntu-xenial
tag: v0.1.0
login:
env:
username: $COOL_USERNAME
password: $TOP_SECRET_PASSWORD