Skip to content

Commit

Permalink
feat: automatically push image build for master
Browse files Browse the repository at this point in the history
Let's push the ci built image each day as 'latest' until
we automate the stable release.
  • Loading branch information
sileht committed Oct 8, 2020
1 parent 270dcd2 commit 19e9674
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/build-docker-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,9 @@ for name in $NAMES; do
docker push $image_url:${TAG_NAME}
else
docker push $image_url:$TMP_TAG
if [ "$GIT_BRANCH" == "master" ]; then
docker tag $image_url:$TMP_TAG $image_url:latest
docker push $image_url:latest
fi
fi
done

0 comments on commit 19e9674

Please sign in to comment.