Skip to content

Commit

Permalink
fix(build): setup travis push (#4)
Browse files Browse the repository at this point in the history
A step to extract the IMAGEID of the ci image was missed
causing travis to fail pushing the images.

Added the step to extract IMAGEID.

Signed-off-by: kmova <[email protected]>
  • Loading branch information
kmova authored Nov 10, 2020
1 parent 434b07c commit 31481b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ fi

# The below steps are required for pushing arch specific images.
# This steps will be removed eventually in favour of buildx-push
IMAGEID=$( sudo docker images -q "${DIMAGE}:ci" )
echo "${DIMAGE}:ci -> $IMAGEID"
if [ -z "${IMAGEID}" ];
then
echo "Error: unable to get IMAGEID for ${DIMAGE}:ci";
exit 1
fi


# Generate a unique tag based on the commit and tag
BUILD_ID=$(git describe --tags --always)
Expand Down

0 comments on commit 31481b3

Please sign in to comment.