Try to give more cpu usage
Docker Build and Release Upload / build (push) Failing after 2s

This commit is contained in:
2025-07-11 00:08:03 +00:00
parent dde060efa3
commit ee13804899
+11 -8
View File
@@ -12,19 +12,21 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
# Install dependencies (QEMU, binfmt, Buildx)
- name: Install QEMU and Docker build tools
run: |
sudo apt-get update
sudo apt-get install -y docker.io
docker run --rm --privileged tonistiigi/binfmt --install all
docker buildx create --name crossbuilder --use
docker buildx inspect --bootstrap
- name: Build and push database image (arm64 + amd64)
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t docker.mistox.net/mistox-sql \
--build-arg JOBS=$(nproc) \
-t docker.mistox.net/mistox-sql
--push \
./database
@@ -32,6 +34,7 @@ jobs:
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--build-arg JOBS=$(nproc) \
-t docker.mistox.net/mistox-website \
--push \
.