From ea20217fbc0bea5f7b2623f02a128c27b42c925c Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 17 Oct 2023 14:31:08 +0200 Subject: [PATCH 1/2] Use build --- .github/workflows/release-singleimage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-singleimage.yml b/.github/workflows/release-singleimage.yml index 61ab9a4eb2..f7f87f6e4c 100644 --- a/.github/workflows/release-singleimage.yml +++ b/.github/workflows/release-singleimage.yml @@ -20,8 +20,8 @@ jobs: with: root-reserve-mb: 30000 swap-size-mb: 1024 - remove-android: 'true' - remove-dotnet: 'true' + remove-android: "true" + remove-dotnet: "true" - name: Fail if not a tag run: | if [[ $GITHUB_REF != refs/tags/* ]]; then @@ -48,7 +48,7 @@ jobs: - name: Update versions run: ./scripts/updateVersions.sh - name: Run Yarn Build - run: yarn build:docker:pre + run: yarn build - name: Login to Docker Hub uses: docker/login-action@v2 with: From 697e733f820c5b3ad83c50e08ba9a0273920cc44 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 17 Oct 2023 15:24:29 +0200 Subject: [PATCH 2/2] Fix timeout --- hosting/single/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosting/single/Dockerfile b/hosting/single/Dockerfile index 95e383edb0..c7b90dbdc4 100644 --- a/hosting/single/Dockerfile +++ b/hosting/single/Dockerfile @@ -12,14 +12,14 @@ RUN chmod +x /cleanup.sh WORKDIR /app ADD packages/server . COPY yarn.lock . -RUN yarn install --production=true --network-timeout 100000 +RUN yarn install --production=true --network-timeout 1000000 RUN /cleanup.sh # build worker WORKDIR /worker ADD packages/worker . COPY yarn.lock . -RUN yarn install --production=true --network-timeout 100000 +RUN yarn install --production=true --network-timeout 1000000 RUN /cleanup.sh FROM budibase/couchdb