mirror of
https://codeberg.org/aryak/mozhi
synced 2024-11-26 18:11:57 +05:30
add arm64 support hopefully (closes #2)
This commit is contained in:
parent
2541df63fe
commit
916a22f57b
@ -25,6 +25,7 @@ jobs:
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: codeberg.org/aryak/mozhi:latest
|
||||
platforms: linux/amd64, linux/arm64
|
||||
build_artifact:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build and publish artifacts
|
||||
|
@ -9,7 +9,7 @@ COPY . .
|
||||
ENV GOPRIVATE=codeberg.org/aryak/libmozhi
|
||||
RUN go mod download
|
||||
RUN go run github.com/swaggo/swag/cmd/swag@latest init --parseDependency
|
||||
RUN GOOS=linux GOARCH=$TARGETARCH go build -o /src/mozhi
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH go build -o /src/mozhi
|
||||
|
||||
FROM alpine:3.16 as bin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user