This commit is contained in:
@@ -23,6 +23,23 @@ local build(dir, package) = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
kind: 'pipeline',
|
||||||
|
type: 'docker',
|
||||||
|
name: 'git log',
|
||||||
|
platform: {
|
||||||
|
os: 'linux',
|
||||||
|
arch: 'arm64',
|
||||||
|
},
|
||||||
|
steps: [
|
||||||
|
{
|
||||||
|
name: 'git log',
|
||||||
|
image: 'cr.wks/debian-stable',
|
||||||
|
commands: [ 'git diff-tree --no-commit-id --name-only HEAD -r' ]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
kind: 'pipeline',
|
kind: 'pipeline',
|
||||||
type: 'docker',
|
type: 'docker',
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
apiVersion: tekton.dev/v1beta1
|
|
||||||
kind: PipelineRun
|
|
||||||
metadata:
|
|
||||||
name: img-apt-cacher-ng
|
|
||||||
spec:
|
|
||||||
pipelineRef:
|
|
||||||
name: kaniko-pipeline
|
|
||||||
params:
|
|
||||||
- name: git-url
|
|
||||||
value: http://git-ui.lan/chaos/kubernetes.git
|
|
||||||
- name: git-revision
|
|
||||||
value: master
|
|
||||||
- name: path-to-image-context
|
|
||||||
value: apps/apt-cacher-ng
|
|
||||||
- name: path-to-dockerfile
|
|
||||||
value: apps/apt-cacher-ng/Dockerfile
|
|
||||||
- name: image-name
|
|
||||||
value: cr.lan/apt-cacher-ng
|
|
||||||
workspaces:
|
|
||||||
- name: git-source
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: tektoncd-workspaces
|
|
||||||
subPath: tekton/apt-cacher-ng
|
|
||||||
Reference in New Issue
Block a user