intel-iommu: update iq_dw during post load
[qemu/kevin.git] / .gitlab-ci.d / container-template.yml
blob1baecd946062413ad3f0cc68b79a4e0fb69defde
1 .container_job_template:
2   image: docker:stable
3   stage: containers
4   services:
5     - docker:dind
6   before_script:
7     - export TAG="$CI_REGISTRY_IMAGE/qemu/$NAME:latest"
8     - export COMMON_TAG="$CI_REGISTRY/qemu-project/qemu/$NAME:latest"
9     - apk add python3
10     - docker info
11     - docker login $CI_REGISTRY -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
12   script:
13     - echo "TAG:$TAG"
14     - echo "COMMON_TAG:$COMMON_TAG"
15     - ./tests/docker/docker.py --engine docker build
16           -t "qemu/$NAME" -f "tests/docker/dockerfiles/$NAME.docker"
17           -r $CI_REGISTRY/qemu-project/qemu
18     - docker tag "qemu/$NAME" "$TAG"
19     - docker push "$TAG"
20   after_script:
21     - docker logout