Created
August 24, 2018 07:45
-
-
Save alexellis/95280199b4397c9c31e8d3edbaebb60f to your computer and use it in GitHub Desktop.
Build and publish ARMHF Docker images for OpenFaaS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
declare -a repos=("faas" "faas-swarm" "nats-queue-worker" "faas-netes") | |
HERE=`pwd` | |
rm -rf staging || : | |
mkdir -p staging | |
for i in "${repos[@]}" | |
do | |
cd $HERE | |
echo "$i" | |
git clone https://github.com/openfaas/$i ./staging/$i | |
cd ./staging/$i | |
pwd | |
export TAG=$(git describe --abbrev=0 --tags) | |
echo "Latest release: $TAG" | |
make ci-armhf-build ci-armhf-push | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment