File tree Expand file tree Collapse file tree 29 files changed +37
-37
lines changed Expand file tree Collapse file tree 29 files changed +37
-37
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ set -ex
13
13
export REGISTRY=${REGISTRY:- icr.io/ codeengine}
14
14
15
15
# Build the image
16
- docker build ${NOCACHE} -t ${REGISTRY} /app-n-job .
16
+ docker build ${NOCACHE} -t ${REGISTRY} /app-n-job . --platform linux/amd64
17
17
18
18
# And push it
19
19
docker push ${REGISTRY} /app-n-job
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ set -ex
13
13
export REGISTRY=${REGISTRY:- icr.io/ codeengine}
14
14
15
15
# First build the app's image and push it
16
- docker build ${NOCACHE} -t ${REGISTRY} /a2j-app -f Dockerfile.app .
16
+ docker build ${NOCACHE} -t ${REGISTRY} /a2j-app -f Dockerfile.app . --platform linux/amd64
17
17
docker push ${REGISTRY} /a2j-app
18
18
19
19
# Now build the job's
20
- docker build ${NOCACHE} -t ${REGISTRY} /a2j-job -f Dockerfile.job .
20
+ docker build ${NOCACHE} -t ${REGISTRY} /a2j-job -f Dockerfile.job . --platform linux/amd64
21
21
docker push ${REGISTRY} /a2j-job
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ set -ex
13
13
export REGISTRY=${REGISTRY:- icr.io/ codeengine}
14
14
15
15
# Build the images
16
- docker build ${NOCACHE} -f Dockerfile.nginx -t ${REGISTRY} /auth-proxy .
17
- docker build ${NOCACHE} -f Dockerfile.app -t ${REGISTRY} /auth-app .
16
+ docker build ${NOCACHE} -f Dockerfile.nginx -t ${REGISTRY} /auth-proxy . --platform linux/amd64
17
+ docker build ${NOCACHE} -f Dockerfile.app -t ${REGISTRY} /auth-app . --platform linux/amd64
18
18
19
19
# And push them
20
20
docker push ${REGISTRY} /auth-proxy
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ set -ex
13
13
export REGISTRY=${REGISTRY:- icr.io/ codeengine}
14
14
15
15
# Build the image
16
- docker build ${NOCACHE} -t ${REGISTRY} /ce-bash .
16
+ docker build ${NOCACHE} -t ${REGISTRY} /ce-bash . --platform linux/amd64
17
17
18
18
# And push it
19
19
docker push ${REGISTRY} /ce-bash
Original file line number Diff line number Diff line change 3
3
set -ex
4
4
export REGISTRY=${REGISTRY:- icr.io/ codeengine}
5
5
6
- docker build -f - -t ${REGISTRY} /ce-tester . << -EOF
6
+ docker build --platform linux/amd64 - f - -t ${REGISTRY} /ce-tester . << -EOF
7
7
FROM icr.io/codeengine/ce-bash
8
8
WORKDIR /root
9
9
COPY tester /
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ set -ex
13
13
export REGISTRY=${REGISTRY:- icr.io/ codeengine}
14
14
15
15
# First build the app's image and push it
16
- docker build ${NOCACHE} -t ${REGISTRY} /bind-app -f Dockerfile .
16
+ docker build ${NOCACHE} -t ${REGISTRY} /bind-app -f Dockerfile . --platform linux/amd64
17
17
docker push ${REGISTRY} /bind-app
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ set -ex
13
13
export REGISTRY=${REGISTRY:- icr.io/ codeengine}
14
14
15
15
# First build the app's image and push it
16
- docker build ${NOCACHE} -t ${REGISTRY} /bind-job -f Dockerfile .
16
+ docker build ${NOCACHE} -t ${REGISTRY} /bind-job -f Dockerfile . --platform linux/amd64
17
17
docker push ${REGISTRY} /bind-job
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ set -ex
13
13
export REGISTRY=${REGISTRY:- icr.io/ codeengine}
14
14
15
15
# Build the image
16
- docker build ${NOCACHE} -t ${REGISTRY} /cecli .
16
+ docker build ${NOCACHE} -t ${REGISTRY} /cecli . --platform linux/amd64
17
17
18
18
# And push it
19
19
docker push ${REGISTRY} /cecli
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ set -ex
13
13
export REGISTRY=${REGISTRY:- icr.io/ codeengine}
14
14
15
15
# Build the image
16
- docker build ${NOCACHE} -t ${REGISTRY} /ce-config-env .
16
+ docker build ${NOCACHE} -t ${REGISTRY} /ce-config-env . --platform linux/amd64
17
17
18
18
# And push it
19
19
docker push ${REGISTRY} /ce-config-env
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ set -ex
13
13
export REGISTRY=${REGISTRY:- icr.io/ codeengine}
14
14
15
15
# Build the image
16
- docker build ${NOCACHE} -t ${REGISTRY} /ce-config-vol .
16
+ docker build ${NOCACHE} -t ${REGISTRY} /ce-config-vol . --platform linux/amd64
17
17
18
18
# And push it
19
19
docker push ${REGISTRY} /ce-config-vol
You can’t perform that action at this time.
0 commit comments