forked from seleniumhq-community/docker-seleniarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-amd64.sh
20 lines (14 loc) · 896 Bytes
/
build-amd64.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
NAMESPACE=$1
TAG=$2
set -e
cd ./Base && docker buildx build --platform linux/amd64 -t $NAMESPACE/selenium-base:$TAG . --push
cd ../Hub && sh generate.sh $TAG $NAMESPACE studocu \
&& docker buildx build --platform linux/amd64 -t $NAMESPACE/selenium-hub:$TAG . --push
cd ../NodeBase && sh generate.sh $TAG $NAMESPACE studocu \
&& docker buildx build --platform linux/amd64 -t $NAMESPACE/selenium-node-base:$TAG . --push
# && sed 's/chromium=.*/chromium=91.0.4472.124/' Dockerfile > Dockerfile \
cd ../NodeChromium && sh generate.sh $TAG $NAMESPACE studocu \
&& docker buildx build --platform 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/amd64 -t $NAMESPACE/selenium-chrome:$TAG . --push