Adds builder action

This commit is contained in:
Alexey Khit
2022-08-20 15:53:38 +03:00
parent cc55281f12
commit d96af31f86
4 changed files with 86 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
ARG BUILD_FROM
FROM $BUILD_FROM
RUN apk add --no-cache git go
WORKDIR app
RUN git clone https://github.com/AlexxIT/go2rtc .
RUN CGO_ENABLED=0 go build -ldflags "-s -w" -trimpath
CMD [ "/app/go2rtc", "-config", "/config/go2rtc.yaml" ]
+6
View File
@@ -0,0 +1,6 @@
# https://github.com/home-assistant/builder/blob/master/builder.sh
name: go2rtc
description: Ultimate camera streaming application
url: https://github.com/AlexxIT/go2rtc
image: alexxit/go2rtc
arch: [ amd64, aarch64, i386, armv7 ]