-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontainerpush.yaml
41 lines (41 loc) · 1.13 KB
/
containerpush.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
apiVersion: batch/v1
kind: Job
metadata:
annotations:
batch.kubernetes.io/job-tracking: ""
labels:
job-name: largeskopeo
name: largeskopeo
spec:
backoffLimit: 2
completionMode: NonIndexed
completions: 1
parallelism: 1
suspend: false
template:
metadata:
labels:
job-name: largeskopeo
spec:
containers:
- env:
- name: http_proxy
value: <your corporate proxy>
- name: https_proxy
value: <your corporate proxy>
args:
- skopeo copy docker://docker.io/slightlytyler/large-image-test:latest docker://<jfrog-repo url>--container-repo.jfrog.io/skopeo-largejob/slightlytyler/fourgb:latest --dest-username vas-bot-admin --dest-password "<your api key for jfrog repo>"
command:
- /bin/sh
- -c
image: quay.io/skopeo/stable
imagePullPolicy: IfNotPresent
name: largeskopeo
resources: {}
securityContext:
privileged: true
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30