respect platform arch
This commit is contained in:
parent
ddeea33e70
commit
9753456e72
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ function build_crons() {
|
||||||
envarg="default-ee"
|
envarg="default-ee"
|
||||||
tag="ee-"
|
tag="ee-"
|
||||||
mv Dockerfile_crons.dockerignore .dockerignore
|
mv Dockerfile_crons.dockerignore .dockerignore
|
||||||
docker build -f ./Dockerfile_crons --build-arg envarg=$envarg -t ${DOCKER_REPO:-'local'}/crons:${git_sha1} .
|
docker build -f ./Dockerfile_crons --platform=linux/${ARCH:-'amd64'} --build-arg envarg=$envarg -t ${DOCKER_REPO:-'local'}/crons:${git_sha1} .
|
||||||
cd ../api
|
cd ../api
|
||||||
rm -rf ../${destination}
|
rm -rf ../${destination}
|
||||||
[[ $PUSH_IMAGE -eq 1 ]] && {
|
[[ $PUSH_IMAGE -eq 1 ]] && {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue