mirror of
https://github.com/datarhei/core.git
synced 2025-09-26 12:01:30 +08:00
Add ubuntu build for vod branch
This commit is contained in:
6
.github/workflows/build_base_vod.yaml
vendored
6
.github/workflows/build_base_vod.yaml
vendored
@@ -18,7 +18,11 @@ jobs:
|
||||
golang: golang:1.22-alpine3.20
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
branch: vod
|
||||
key: alpine3.20
|
||||
- os: ubuntu
|
||||
os_version: "22.04"
|
||||
golang: golang:1.22-alpine3.20
|
||||
platforms: linux/amd64
|
||||
branch: vod
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@@ -3,7 +3,7 @@ ARG BUILD_IMAGE=alpine:3.19
|
||||
|
||||
# Cross-Compilation
|
||||
# https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/
|
||||
FROM --platform=$BUILDPLATFORM $GOLANG_IMAGE as builder
|
||||
FROM --platform=$BUILDPLATFORM $GOLANG_IMAGE AS builder
|
||||
|
||||
ARG TARGETOS TARGETARCH TARGETVARIANT
|
||||
ENV GOOS=$TARGETOS GOARCH=$TARGETARCH GOARM=$TARGETVARIANT
|
||||
|
Reference in New Issue
Block a user