zuul-jobs/test-playbooks/container/test-build-container-image-release-pre.yaml
Albin Vass 06e35b2125 Test multiarch release builds and use temp registry with buildx
When using docker buildx to build a container image, use a temporary
registry to receive the built image instead of requiring a buildset
registry.

A multi-arch test is also added with a publication registry
using the same task list to reduce duplication.

Change-Id: Ib20d1c97f6cb63e0ff9d8888ea792d1941cd8690
Co-Authored-By: James E. Blair <jeblair@redhat.com>
2020-07-01 10:29:31 -07:00

21 lines
572 B
YAML

- hosts: all
tasks:
- name: Set docker_registry cacheable facts
set_fact:
cacheable: true
docker_registry: "127.0.0.1:5200"
docker_credentials:
username: zuul
password: testpassword
repository: testrepo
- name: Set up a publication registry to stand in for Docker Hub
import_tasks: ../../util-tasks/run-docker-registry.yaml
vars:
registry:
host: "127.0.0.1"
port: 5200
username: zuul
password: testpassword
container_command: docker