mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 08:46:48 +00:00
The padding was off on the Gateway UI for the function Store popup. I have removed the 0padding css class from this element and left it on the elements that require it Signed-off-by: Alistair Hey <alistair@heyal.co.uk>
35 lines
471 B
Bash
Executable File
35 lines
471 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
export arch=$(uname -m)
|
|
|
|
export eTAG="latest-dev"
|
|
|
|
if [ "$arch" = "armv7l" ] ; then
|
|
eTAG="latest-armhf-dev"
|
|
elif [ "$arch" = "aarch64" ] ; then
|
|
eTAG="latest-arm64-dev"
|
|
fi
|
|
|
|
echo "$1"
|
|
if [ "$1" ] ; then
|
|
eTAG=$1
|
|
if [ "$arch" = "armv7l" ] ; then
|
|
eTAG="$1-armhf"
|
|
elif [ "$arch" = "aarch64" ] ; then
|
|
eTAG="$1-arm64"
|
|
fi
|
|
fi
|
|
|
|
|
|
if [ "$2" ] ; then
|
|
NS=$2
|
|
else
|
|
NS=openfaas
|
|
fi
|
|
|
|
echo Pushing $NS/gateway:$eTAG
|
|
|
|
docker push $NS/gateway:$eTAG
|
|
|