Skip to content

Commit 696ee96

Browse files
committed
docker: remove some unused builds
1 parent de656e8 commit 696ee96

2 files changed

Lines changed: 1 addition & 31 deletions

File tree

.github/workflows/release.docker.core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
SHORT_SHA="${GITHUB_SHA::8}"
3232
echo "short_sha=$SHORT_SHA" >> $GITHUB_OUTPUT
3333
34-
if [[ "${{ github.ref_type }}" == "branch" && "${{ github.ref_name }}" == "main" || "${{ github.ref_name }}" == "snor/release-docker-core" ]]; then
34+
if [[ "${{ github.ref_type }}" == "branch" && "${{ github.ref_name }}" == "main" || "${{ github.ref_name }}" == "snor/release-docker-all" ]]; then
3535
echo "channel=edge" >> $GITHUB_OUTPUT
3636
else
3737
TAG="${{ github.ref_name }}" # e.g. v1.2.3 or v1.2.3-rc.1

Dockerfile

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -60,26 +60,6 @@ RUN --mount=type=cache,target=/go/pkg/mod \
6060
--mount=type=cache,target=/root/.cache/go-build \
6161
go build -ldflags "${GO_LDFLAGS}" -o ${BIN_DIR}/doublezero-api api/cmd/server/main.go
6262

63-
# Build config agent (golang)
64-
RUN --mount=type=cache,target=/go/pkg/mod \
65-
--mount=type=cache,target=/root/.cache/go-build \
66-
go build -ldflags "${GO_LDFLAGS}" -o ${BIN_DIR}/doublezero-config-agent controlplane/agent/cmd/agent/main.go
67-
68-
# Build telemetry agent (golang)
69-
RUN --mount=type=cache,target=/go/pkg/mod \
70-
--mount=type=cache,target=/root/.cache/go-build \
71-
go build -ldflags "${GO_LDFLAGS}" -o ${BIN_DIR}/doublezero-telemetry-agent controlplane/telemetry/cmd/telemetry/main.go
72-
73-
# Build client/doublezerod (golang)
74-
RUN --mount=type=cache,target=/go/pkg/mod \
75-
--mount=type=cache,target=/root/.cache/go-build \
76-
go build -ldflags "${GO_LDFLAGS}" -o ${BIN_DIR}/doublezerod client/doublezerod/cmd/doublezerod/main.go
77-
78-
# Build the controller (golang)
79-
RUN --mount=type=cache,target=/go/pkg/mod \
80-
--mount=type=cache,target=/root/.cache/go-build \
81-
go build -ldflags "${GO_LDFLAGS}" -o ${BIN_DIR}/doublezero-controller controlplane/controller/cmd/controller/main.go
82-
8363
# Build the funder (golang)
8464
RUN --mount=type=cache,target=/go/pkg/mod \
8565
--mount=type=cache,target=/root/.cache/go-build \
@@ -90,16 +70,6 @@ RUN --mount=type=cache,target=/go/pkg/mod \
9070
--mount=type=cache,target=/root/.cache/go-build \
9171
go build -ldflags "${GO_LDFLAGS}" -o ${BIN_DIR}/doublezero-monitor controlplane/monitor/cmd/monitor/main.go
9272

93-
# Build the qa agent (golang)
94-
RUN --mount=type=cache,target=/go/pkg/mod \
95-
--mount=type=cache,target=/root/.cache/go-build \
96-
go build -ldflags "${GO_LDFLAGS}" -o ${BIN_DIR}/doublezero-qa-agent e2e/cmd/qaagent/main.go
97-
98-
# Build the internet latency collector (golang)
99-
RUN --mount=type=cache,target=/go/pkg/mod \
100-
--mount=type=cache,target=/root/.cache/go-build \
101-
go build -ldflags "${GO_LDFLAGS}" -o ${BIN_DIR}/doublezero-internet-latency-collector controlplane/internet-latency-collector/cmd/collector/main.go
102-
10373
# Build the telemetry data API (golang)
10474
RUN --mount=type=cache,target=/go/pkg/mod \
10575
--mount=type=cache,target=/root/.cache/go-build \

0 commit comments

Comments
 (0)