Skip to content

Commit

Permalink
fix: Build
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthb committed Feb 14, 2024
1 parent e268fd6 commit 8d34ec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pushd web
npm ci
popd

go install golang.org/x/tools/cmd/stringer@latest
go generate -x ./...

mkdir -p bin
Expand Down

0 comments on commit 8d34ec0

Please sign in to comment.