diff --git a/Containerfile b/Containerfile index 7a1b927..ee5ed03 100644 --- a/Containerfile +++ b/Containerfile @@ -15,6 +15,8 @@ ARG TARGETARCH WORKDIR /src COPY go.mod go.sum ./ RUN go mod download -x +RUN go install golang.org/x/tools/cmd/stringer@latest +RUN go generate ./asgard COPY . . COPY --from=node /src/static/ /src/web/static/ RUN mkdir -p bin \ diff --git a/build.sh b/build.sh index b5e254d..7b6131f 100755 --- a/build.sh +++ b/build.sh @@ -8,6 +8,7 @@ pushd web npm ci popd +go install golang.org/x/tools/cmd/stringer@latest go generate -x ./... mkdir -p bin