Skip to content

Commit 4d8c3e5

Browse files
committed
ensure app packaged for amd64
Signed-off-by: Silvano Cirujano Cuesta <[email protected]>
1 parent 457832d commit 4d8c3e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prepare-package.bash

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ gpg --output "${APP_NAME}/${PUBLIC_KEY}" --armor --export ${KEY_ID} &>> ${LOG}
3636
(
3737
cd "${APP_NAME}"
3838
echo "Creating container image archive '${APP_NAME}-web'"
39-
docker build --tag ${APP_NAME}-web:latest . &>> ${LOG}
39+
docker build --platform linux/amd64 --tag ${APP_NAME}-web:latest . &>> ${LOG}
4040
docker save ${APP_NAME}-web:latest > ${APP_NAME}-web.tar
4141

4242
echo "Creating container image archive '${APP_NAME}-redis.tar'"
43-
docker pull redis:alpine &>> ${LOG}
43+
docker pull --platform linux/amd64 redis:alpine &>> ${LOG}
4444
docker save redis:alpine > ${APP_NAME}-redis.tar
4545

4646
echo "Creating '${APP_NAME}.app'"

0 commit comments

Comments
 (0)