forked from seleniumhq-community/docker-seleniarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sh
19 lines (13 loc) · 882 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
NAMESPACE=$1
TAG=$2
set -e
cd ./Base && docker buildx build --platform linux/arm64,linux/amd64 -t $NAMESPACE/selenium-base:$TAG . --push
cd ../Hub && sh generate.sh $TAG $NAMESPACE studocu \
&& docker buildx build --platform linux/arm64,linux/amd64 -t $NAMESPACE/selenium-hub:$TAG . --push
cd ../NodeBase && sh generate.sh $TAG $NAMESPACE studocu \
&& docker buildx build --platform linux/arm64,linux/amd64 -t $NAMESPACE/selenium-node-base:$TAG . --push
cd ../NodeChromium && sh generate.sh $TAG $NAMESPACE studocu \
&& docker buildx build --platform linux/arm64,linux/amd64 -t $NAMESPACE/selenium-node-chromium:$TAG . --push
cd ../Standalone && sh generate.sh StandaloneChromium selenium-node-chromium $TAG $NAMESPACE studocu \
&& cd ../StandaloneChromium \
&& docker buildx build --platform linux/arm64,linux/amd64 -t $NAMESPACE/selenium-chrome:$TAG . --push