File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ VERSION=${VERSION:- latest}
4+ PUSH=${PUSH:- false}
5+
6+ ALL_IMAGES=(
7+ " crapi/crapi-identity"
8+ " crapi/crapi-workshop"
9+ " crapi/crapi-chatbot"
10+ " crapi/crapi-community"
11+ " crapi/crapi-web"
12+ " crapi/gateway-service"
13+ " crapi/mailhog"
14+ )
15+
16+ for image in " ${ALL_IMAGES[@]} " ; do
17+ docker manifest create \
18+ $image :$VERSION \
19+ --amend $image :$VERSION -amd64 \
20+ --amend $image :$VERSION -arm64
21+ done
22+
23+ if [ " $PUSH " = true ]; then
24+ for image in " ${ALL_IMAGES[@]} " ; do
25+ docker manifest push $image :$VERSION
26+ done
27+ fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ VERSION=${VERSION:- latest}
4+ PUSH=${PUSH:- false}
5+
6+ ALL_IMAGES=(
7+ " crapi/crapi-identity"
8+ " crapi/crapi-workshop"
9+ " crapi/crapi-chatbot"
10+ " crapi/crapi-community"
11+ " crapi/crapi-web"
12+ " crapi/gateway-service"
13+ " crapi/mailhog"
14+ )
15+
16+ for image in " ${ALL_IMAGES[@]} " ; do
17+ docker push $image :$VERSION
18+ done
19+
You can’t perform that action at this time.
0 commit comments