Only build/release P/Z platforms for developer image

This commit is contained in:
Luke J Powlett
2020-03-17 12:08:28 +00:00
parent c1cbb62ee1
commit d9c8fc5c78
8 changed files with 63 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# © Copyright IBM Corporation 2019
# © Copyright IBM Corporation 2019, 2020
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -32,9 +32,11 @@ function push_developer {
}
function push_production {
echo 'Pushing Production image...' && echo -en 'travis_fold:start:push-advancedserver\\r'
make push-advancedserver
echo -en 'travis_fold:end:push-advancedserver\\r'
if [ "$ARCH" = "amd64" ] ; then
echo 'Pushing Production image...' && echo -en 'travis_fold:start:push-advancedserver\\r'
make push-advancedserver
echo -en 'travis_fold:end:push-advancedserver\\r'
fi
}
# call relevant push function