(FIX): Added tidy to the Dockerfile. Should work in actions
This commit is contained in:
parent
0017d1a3d5
commit
031ae205da
@ -3,10 +3,13 @@ FROM golang:latest AS fetch-stage
|
|||||||
|
|
||||||
COPY go.mod go.sum /app
|
COPY go.mod go.sum /app
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN go mod download
|
RUN go mod tidy
|
||||||
|
|
||||||
|
RUN go mod download
|
||||||
|
|
||||||
# Generate stage
|
# Generate stage
|
||||||
FROM ghcr.io/a-h/templ:latest AS generate-stage
|
FROM ghcr.io/a-h/templ:latest AS generate-stage
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user