chore(ci): point ci image at our own build
This commit is contained in:
@@ -16,7 +16,7 @@ docker-all:
|
|||||||
|
|
||||||
crosscompiler:
|
crosscompiler:
|
||||||
# This image is missing a few platforms, so we'll add them locally
|
# This image is missing a few platforms, so we'll add them locally
|
||||||
FROM --platform=linux/amd64 bdwyertech/go-crosscompile
|
FROM --platform=linux/amd64 ghcr.io/gabek/go-crosscompile:latest
|
||||||
RUN apk add --update --no-cache tar gzip upx >> /dev/null
|
RUN apk add --update --no-cache tar gzip upx >> /dev/null
|
||||||
RUN curl -sfL "https://owncast-infra.nyc3.cdn.digitaloceanspaces.com/build/armv7l-linux-musleabihf-cross.tgz" | tar zxf - -C /usr/ --strip-components=1
|
RUN curl -sfL "https://owncast-infra.nyc3.cdn.digitaloceanspaces.com/build/armv7l-linux-musleabihf-cross.tgz" | tar zxf - -C /usr/ --strip-components=1
|
||||||
RUN curl -sfL "https://owncast-infra.nyc3.cdn.digitaloceanspaces.com/build/i686-linux-musl-cross.tgz" | tar zxf - -C /usr/ --strip-components=1
|
RUN curl -sfL "https://owncast-infra.nyc3.cdn.digitaloceanspaces.com/build/i686-linux-musl-cross.tgz" | tar zxf - -C /usr/ --strip-components=1
|
||||||
@@ -147,13 +147,13 @@ dockerfile:
|
|||||||
FROM DOCKERFILE -f Dockerfile .
|
FROM DOCKERFILE -f Dockerfile .
|
||||||
|
|
||||||
unit-tests:
|
unit-tests:
|
||||||
FROM --platform=linux/amd64 bdwyertech/go-crosscompile
|
FROM --platform=linux/amd64 ghcr.io/gabek/go-crosscompile:latest
|
||||||
COPY . /build
|
COPY . /build
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
RUN go test ./...
|
RUN go test ./...
|
||||||
|
|
||||||
api-tests:
|
api-tests:
|
||||||
FROM --platform=linux/amd64 bdwyertech/go-crosscompile
|
FROM --platform=linux/amd64 ghcr.io/gabek/go-crosscompile:latest
|
||||||
RUN apk add npm font-noto && fc-cache -f
|
RUN apk add npm font-noto && fc-cache -f
|
||||||
COPY . /build
|
COPY . /build
|
||||||
WORKDIR /build/test/automated/api
|
WORKDIR /build/test/automated/api
|
||||||
@@ -161,7 +161,7 @@ api-tests:
|
|||||||
RUN ./run.sh
|
RUN ./run.sh
|
||||||
|
|
||||||
hls-tests:
|
hls-tests:
|
||||||
FROM --platform=linux/amd64 bdwyertech/go-crosscompile
|
FROM --platform=linux/amd64 ghcr.io/gabek/go-crosscompile:latest
|
||||||
RUN apk add npm font-noto && fc-cache -f
|
RUN apk add npm font-noto && fc-cache -f
|
||||||
COPY . /build
|
COPY . /build
|
||||||
WORKDIR /build/test/automated/hls
|
WORKDIR /build/test/automated/hls
|
||||||
|
|||||||
Reference in New Issue
Block a user