File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,17 @@ ARG TARGETOS
4
4
ARG TARGETARCH
5
5
6
6
WORKDIR /workspace
7
+
7
8
# Copy the Go Modules manifests
8
9
COPY go.mod go.mod
9
10
COPY go.sum go.sum
10
- # cache deps before building and copying source so that we don't need to re-download as much
11
- # and so that source changes don't invalidate our downloaded layer
12
11
RUN go mod download
13
12
14
13
# Copy the go source
15
14
COPY cmd/main.go cmd/main.go
16
15
COPY api/ api/
17
16
COPY internal/ internal/
17
+ COPY pkg/ pkg/
18
18
19
19
# Build
20
20
# the GOARCH has not a default value to allow the binary be built according to the host where the command
Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ RUN apk add --no-cache git bash
9
9
RUN go install github.com/go-delve/delve/cmd/dlv@latest
10
10
11
11
WORKDIR /workspace
12
+
12
13
# Copy the Go Modules manifests
13
14
COPY go.mod go.mod
14
15
COPY go.sum go.sum
15
- # cache deps before building and copying source so that we don't need to re-download as much
16
- # and so that source changes don't invalidate our downloaded layer
17
16
RUN go mod download
18
17
19
18
# Copy the go source
20
19
COPY cmd/main.go cmd/main.go
21
20
COPY api/ api/
22
21
COPY internal/ internal/
22
+ COPY pkg/ pkg/
Original file line number Diff line number Diff line change 1
1
include build/makelib/common.mk
2
2
include build/makelib/plugin.mk
3
3
4
- # Image URL to use all building/pushing image targets
5
- IMG ?= quay.io/validator-labs/validator-plugin-aws:latest
4
+ # Container image
5
+ TAG ?= latest
6
+ IMG ?= quay.io/validator-labs/validator-plugin-aws:$(TAG )
6
7
7
8
# Helm vars
8
9
CHART_NAME =validator-plugin-aws
You can’t perform that action at this time.
0 commit comments