
Use skopeo to copy images between registries instead of docker/podman as this allows to copy layers and manifests of different architectures. The same would require far more steps with docker/podman. Change-Id: I1e6cda57d1eb827cc95eee54b19e9fd952cbf99e
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
# Jobs listed in container-jobs.rst.
|
|
|
|
- job:
|
|
name: build-container-image
|
|
description: |
|
|
Build a container image.
|
|
|
|
.. include:: ../../playbooks/container-image/README.rst
|
|
pre-run: playbooks/container-image/pre.yaml
|
|
run: playbooks/container-image/run.yaml
|
|
|
|
- job:
|
|
name: upload-container-image
|
|
parent: build-container-image
|
|
description: |
|
|
Build and upload a container image.
|
|
|
|
.. include:: ../../playbooks/container-image/README.rst
|
|
.. include:: ../../playbooks/container-image/credentials.rst
|
|
post-run: playbooks/container-image/upload.yaml
|
|
|
|
- job:
|
|
name: promote-container-image
|
|
description: |
|
|
Retag a previously-uploaded container image.
|
|
|
|
.. include:: ../../playbooks/container-image/README.rst
|
|
.. include:: ../../playbooks/container-image/credentials.rst
|
|
run: playbooks/container-image/promote.yaml
|
|
nodeset:
|
|
nodes: []
|
|
|
|
- job:
|
|
name: mirror-container-images
|
|
description: |
|
|
Copy container images from one registry to another.
|
|
|
|
.. include:: ../../playbooks/container-image/README.rst
|
|
.. include:: ../../playbooks/container-image/credentials.rst
|
|
pre-run: playbooks/container-image/mirror-pre.yaml
|
|
run: playbooks/container-image/mirror.yaml
|