From 0bc5909f2432fc64d80b42ce63a0f3ce1ad622a5 Mon Sep 17 00:00:00 2001 From: Lukasz Zajaczkowski Date: Fri, 19 Jan 2024 18:05:37 +0100 Subject: [PATCH] fix Dockerfile (#112) --- Dockerfile | 2 ++ go.mod | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4a227571..c5f668fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,8 @@ RUN go mod download # Copy the go source COPY /cmd/main.go main.go COPY /pkg pkg/ +COPY /api api/ +COPY /internal internal/ # Build RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} GO111MODULE=on go build -a -o deployment-agent main.go diff --git a/go.mod b/go.mod index d257b87d..93ffbd87 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/pluralsh/deployment-operator go 1.21 require ( + github.com/Masterminds/semver/v3 v3.2.1 github.com/Masterminds/sprig/v3 v3.2.3 github.com/evanphx/json-patch v5.6.0+incompatible github.com/fluxcd/flagger v1.35.0 @@ -44,7 +45,6 @@ require ( github.com/BurntSushi/toml v1.2.1 // indirect github.com/MakeNowJust/heredoc v1.0.0 // indirect github.com/Masterminds/goutils v1.1.1 // indirect - github.com/Masterminds/semver/v3 v3.2.1 // indirect github.com/Masterminds/squirrel v1.5.3 // indirect github.com/Yamashou/gqlgenc v0.14.0 // indirect github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535 // indirect