fixing arm64 image build
This commit is contained in:
parent
f8ef7caa75
commit
2a5f0d8ba5
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
docker build --push --platform=linux/amd64 -f $DOCKERFILE_PATH -t ${IMAGE_NAME}_amd64 .
|
docker buildx build --push --platform=linux/amd64 -f $DOCKERFILE_PATH -t ${IMAGE_NAME}_amd64 .
|
||||||
docker build --push --platform=linux/arm64 -f $DOCKERFILE_PATH -t ${IMAGE_NAME}_arm64 .
|
docker buildx build --push --platform=linux/arm64 -f $DOCKERFILE_PATH -t ${IMAGE_NAME}_arm64 .
|
||||||
docker manifest create ${IMAGE_NAME} --amend ${IMAGE_NAME}_amd64 --amend ${IMAGE_NAME}_arm64
|
docker manifest create ${IMAGE_NAME} --amend ${IMAGE_NAME}_amd64 --amend ${IMAGE_NAME}_arm64
|
||||||
docker manifest push ${IMAGE_NAME}
|
docker manifest push ${IMAGE_NAME}
|
Loading…
Reference in New Issue