dont download a version
This commit is contained in:
parent
ea8c3c6891
commit
60476e59d6
3 changed files with 0 additions and 12 deletions
|
|
@ -13,10 +13,6 @@ RUN go mod download
|
||||||
# Copy the source code into the container
|
# Copy the source code into the container
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Always download the latest version of the framework
|
|
||||||
RUN go get github.com/maddalax/htmgo/framework@latest
|
|
||||||
RUN go mod tidy
|
|
||||||
|
|
||||||
# Build the Go binary for Linux
|
# Build the Go binary for Linux
|
||||||
RUN CGO_ENABLED=0 GOPRIVATE=github.com/maddalax LOG_LEVEL=debug go run github.com/maddalax/htmgo/cli/htmgo@latest build
|
RUN CGO_ENABLED=0 GOPRIVATE=github.com/maddalax LOG_LEVEL=debug go run github.com/maddalax/htmgo/cli/htmgo@latest build
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,6 @@ RUN go mod download
|
||||||
# Copy the source code into the container
|
# Copy the source code into the container
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Always download the latest version of the framework
|
|
||||||
RUN GOPRIVATE=github.com/maddalax GOPROXY=direct go get github.com/maddalax/htmgo/framework@latest
|
|
||||||
RUN go mod tidy
|
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
# Build the Go binary for Linux
|
# Build the Go binary for Linux
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,6 @@ RUN go mod download
|
||||||
# Copy the source code into the container
|
# Copy the source code into the container
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Always download the latest version of the framework
|
|
||||||
RUN go get github.com/maddalax/htmgo/framework@latest
|
|
||||||
RUN go mod tidy
|
|
||||||
|
|
||||||
# Build the Go binary for Linux
|
# Build the Go binary for Linux
|
||||||
RUN GOPRIVATE=github.com/maddalax GOPROXY=direct go run github.com/maddalax/htmgo/cli/htmgo@latest build
|
RUN GOPRIVATE=github.com/maddalax GOPROXY=direct go run github.com/maddalax/htmgo/cli/htmgo@latest build
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue