Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
fix: increase yarn timeout in Docker image to fix failing arm64 builds (
Browse files Browse the repository at this point in the history
#517)

Co-authored-by: Roman Dmitrienko <[email protected]>
  • Loading branch information
rdmitr and rdmitr authored Jun 27, 2024
1 parent b89377e commit fa27483
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ jobs:
TAG: ${{ github.ref_name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: Check out code
- name: Install Go
uses: actions/setup-go@v1
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Checkout code
uses: actions/checkout@v2
- name: Run tests
run: mkdir frontend/dist && touch frontend/dist/tmp && go test ./...
- name: Docker build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:20-alpine as frontend
WORKDIR /build
COPY frontend ./frontend
RUN cd frontend && yarn install && yarn build:http
RUN cd frontend && yarn install --network-timeout 3000000 && yarn build:http

FROM golang:1.22.2 as builder

Expand Down

0 comments on commit fa27483

Please sign in to comment.