mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-03-18 21:50:33 +01:00
build: de-dupe goreleaser
I don't really know why I duplicated the build process in .goreleaser.yaml, when I could have just called the Makefile.
This commit is contained in:
@@ -9,7 +9,7 @@ COPY . /opt/build
|
||||
# && apt-get install build-essential python3-pip -y \
|
||||
# && (curl -sL https://deb.nodesource.com/setup_current.x | bash -) \
|
||||
# && apt-get install nodejs
|
||||
RUN (cd /opt/build; npm i; make precompile INTERNAL=off GOESBUILD=on) \
|
||||
RUN (cd /opt/build; npm i; make precompile INTERNAL=off GOESBUILD=off) \
|
||||
&& sed -i 's#id="password_resets-watch_directory" placeholder="/config/jellyfin"#id="password_resets-watch_directory" value="/jf" disabled#g' /opt/build/build/data/html/setup.html
|
||||
|
||||
FROM --platform=$BUILDPLATFORM docker.io/golang:latest AS build
|
||||
|
||||
Reference in New Issue
Block a user