Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,32 @@ jobs:
sdk-tests:
needs: [ build ]
uses: ./.github/workflows/sdk-tests.yml

docker-build:
name: Build Docker image (amd64 and arm64)
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
cache: true

- name: Prefetch dependencies
run: go mod vendor && make frontend

- name: Setup Docker buildx
uses: docker/setup-buildx-action@v3

- name: Build Docker image without publishing
uses: docker/build-push-action@v4
with:
context: .
push: false
platforms: linux/amd64, linux/arm64/v8
build-args: |
PREFETCHED=true
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.22 as builder
FROM --platform=$BUILDPLATFORM golang:1.24.1 AS builder

ARG TARGETPLATFORM
ARG BUILDPLATFORM
Expand Down Expand Up @@ -51,4 +51,4 @@ COPY --from=builder /app/bin/server /app/server

VOLUME ["/app/data/"]

ENTRYPOINT ["/app/server"]
ENTRYPOINT ["/app/server"]
Loading