ci(deployment): use script to push the image

Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
Rajesh Rajendran 2021-05-22 05:14:49 +05:30
parent d3c1341d3d
commit 16ba6517a5
No known key found for this signature in database
GPG key ID: F9F6FCAB8BACB638

View file

@ -56,8 +56,7 @@ jobs:
for image in $(cat images_to_build.txt);
do
echo "Bulding $image"
bash -x ./build.sh skip $image
docker push $DOCKER_REPO/$image:$IMAGE_TAG
PUSH_IMAGE=1 bash -x ./build.sh skip $image
echo "::set-output name=image::$DOCKER_REPO/$image:$IMAGE_TAG"
done