summaryrefslogtreecommitdiff
path: root/salt
diff options
context:
space:
mode:
Diffstat (limited to 'salt')
-rw-r--r--salt/openbook/ci/files/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/salt/openbook/ci/files/build.sh b/salt/openbook/ci/files/build.sh
index 62b4228..99fadf0 100644
--- a/salt/openbook/ci/files/build.sh
+++ b/salt/openbook/ci/files/build.sh
@@ -21,7 +21,7 @@ docker login --username {{ pillar["registry"]["username"] }} --password {{ pilla
if [ "${artifact}" == "baseimage" ]; then
delete_old_image "{{ pillar["baseimage"]["image_name"] }}"
{{ pillar["baseimage"]["build_dir"] }}/build.sh
-if [ "${artifact}" == "database" ]; then
+elif [ "${artifact}" == "database" ]; then
delete_old_image "{{ pillar["database"]["image_name"] }}"
{{ pillar["database"]["build_dir"] }}/build.sh
elif [ "${artifact}" == "admin-api-server" ]; then