fix: increase yarn timeout in Docker image to fix failing arm64 builds (#517)

Co-authored-by: Roman Dmitrienko <roman@dmitrienko.com>
This commit is contained in:
Roman D 2024-06-27 04:40:30 +02:00 committed by GitHub
parent b89377eb41
commit fa27483bd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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