integrate buildah with pipeline.
This commit is contained in:
parent
af2a05e21f
commit
5a043a0ac8
|
|
@ -43,4 +43,18 @@ spec:
|
|||
- name: image-name
|
||||
value: $(params.image-name)
|
||||
taskRef:
|
||||
name: j7s-os-image-build
|
||||
name: j7s-os-image-build
|
||||
- name: build-deploy-image
|
||||
runAfter: ["call-make"]
|
||||
workspaces:
|
||||
- name: source
|
||||
workspace: shared-data
|
||||
params:
|
||||
- name: commit
|
||||
value: $(params.image-name)
|
||||
- name: image
|
||||
value: j7s-os-deploy:latest
|
||||
- name: registry
|
||||
value: 192.168.1.128:8443
|
||||
taskRef:
|
||||
name: j7s-os-buildah
|
||||
|
|
@ -19,6 +19,7 @@ spec:
|
|||
image: quay.io/buildah/stable:v1.23.3
|
||||
workingDir: $(workspaces.source.path)
|
||||
script: |
|
||||
set -x
|
||||
# Login
|
||||
buildah login --tls-verify=false --username=$USERNAME --password=$PASSWORD $(params.registry)
|
||||
# Build
|
||||
|
|
|
|||
Loading…
Reference in New Issue