integrate buildah with pipeline.
This commit is contained in:
1 parent
af2a05e21f
commit
5a043a0ac8
2 files changed
+15
No files matched your search
@@ -44,3 +44,17 @@ spec:
|
|||||||
value: $(params.image-name)
|
value: $(params.image-name)
|
||||||
taskRef:
|
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
|
image: quay.io/buildah/stable:v1.23.3
|
||||||
workingDir: $(workspaces.source.path)
|
workingDir: $(workspaces.source.path)
|
||||||
script: |
|
script: |
|
||||||
|
set -x
|
||||||
# Login
|
# Login
|
||||||
buildah login --tls-verify=false --username=$USERNAME --password=$PASSWORD $(params.registry)
|
buildah login --tls-verify=false --username=$USERNAME --password=$PASSWORD $(params.registry)
|
||||||
# Build
|
# Build
|
||||||
|
|||||||
Reference in new issue
Block a user