Move templates to an internal package

This commit is contained in:
2022-02-09 13:01:41 +01:00
parent 992059d17b
commit c2b58f21c8
19 changed files with 37 additions and 11 deletions
+3
View File
@@ -9,6 +9,8 @@ RUN dnf install -yq golang
COPY go.mod .
COPY go.sum .
COPY templates/go.mod templates/go.mod
COPY templates/go.sum templates/go.sum
RUN --mount=type=cache,id=gopath,target=${GOPATH} \
go mod \
@@ -18,6 +20,7 @@ ARG APP_VERSION=containerized
COPY cmd cmd
COPY pkg pkg
COPY templates templates
RUN --mount=type=cache,id=gopath,target=${GOPATH} \
go build \