Skip to content

Commit b2c2876

Browse files
committed
Initial update
1 parent 99a1d21 commit b2c2876

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

build.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,10 @@
22

33
yarn build:prod
44

5-
ID=$(docker build -q .)
5+
ID=$(docker buildx build --platform linux/amd64,linux/arm64 -t alexbrown201/devnotnull-ui:latest -t alexbrown201/devnotnull-ui:2.0 --push .)
66

77
echo the id $ID
88

9-
docker tag $ID alexbrown201/devnotnull-ui:latest
10-
docker tag $ID alexbrown201/devnotnull-ui:2.0
11-
12-
docker push alexbrown201/devnotnull-ui:latest
13-
docker push alexbrown201/devnotnull-ui:2.0
14-
159
aws s3 cp ./build s3://devnotnull-ui-production --recursive
1610

1711
aws s3api put-bucket-cors --bucket devnotnull-ui-production --cors-configuration '{"CORSRules" : [{"AllowedHeaders":["*"],"AllowedMethods":["GET","HEAD", "POST"],"AllowedOrigins":["*"],"ExposeHeaders":[]}]}'

0 commit comments

Comments
 (0)