mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
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:
parent
b89377eb41
commit
fa27483bd3
2 changed files with 3 additions and 5 deletions
6
.github/workflows/build-docker.yaml
vendored
6
.github/workflows/build-docker.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue