File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,17 +4,17 @@ ARG TARGETOS
44ARG TARGETARCH
55
66WORKDIR /workspace
7+
78# Copy the Go Modules manifests
89COPY go.mod go.mod
910COPY 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
1211RUN go mod download
1312
1413# Copy the go source
1514COPY cmd/main.go cmd/main.go
1615COPY api/ api/
1716COPY internal/ internal/
17+ COPY pkg/ pkg/
1818
1919# Build
2020# 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
99RUN go install github.com/go-delve/delve/cmd/dlv@latest
1010
1111WORKDIR /workspace
12+
1213# Copy the Go Modules manifests
1314COPY go.mod go.mod
1415COPY 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
1716RUN go mod download
1817
1918# Copy the go source
2019COPY cmd/main.go cmd/main.go
2120COPY api/ api/
2221COPY internal/ internal/
22+ COPY pkg/ pkg/
Original file line number Diff line number Diff line change 11include build/makelib/common.mk
22include build/makelib/plugin.mk
33
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 )
67
78# Helm vars
89CHART_NAME =validator-plugin-aws
You can’t perform that action at this time.
0 commit comments