summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/gate/playbooks/docker-image-build.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gate/playbooks/docker-image-build.yaml b/tools/gate/playbooks/docker-image-build.yaml
index aa84bf1..505f1e4 100644
--- a/tools/gate/playbooks/docker-image-build.yaml
+++ b/tools/gate/playbooks/docker-image-build.yaml
@@ -30,7 +30,7 @@
30 environment: 30 environment:
31 BRANCH: "{{ zuul.branch }}" 31 BRANCH: "{{ zuul.branch }}"
32 CHANGE: "{{ zuul.change }}" 32 CHANGE: "{{ zuul.change }}"
33 COMMIT: "{{ zuul.newrev }}" 33 COMMIT: "{{ zuul.newrev | default('') }}"
34 PATCHSET: "{{ zuul.patchset }}" 34 PATCHSET: "{{ zuul.patchset }}"
35 register: image_tags 35 register: image_tags
36 36
@@ -83,7 +83,7 @@
83 DOCKER_REGISTRY: "quay.io" 83 DOCKER_REGISTRY: "quay.io"
84 IMAGE_PREFIX: "airshipit" 84 IMAGE_PREFIX: "airshipit"
85 IMAGE_TAG: "{{ item }}" 85 IMAGE_TAG: "{{ item }}"
86 COMMIT: "{{ zuul.newrev }}" 86 COMMIT: "{{ zuul.newrev | default('') }}"
87 PUSH_IMAGE: "true" 87 PUSH_IMAGE: "true"
88 with_items: "{{ image_tags.stdout_lines }}" 88 with_items: "{{ image_tags.stdout_lines }}"
89 89