Skip to content

Commit 8d3b971

Browse files
committed
Build: Fix deployment workflow
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
1 parent fbd2aa3 commit 8d3b971

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Hub/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG VERSION=latest
66
FROM golang:latest AS exporter-builder
77
WORKDIR /src
88
COPY --from=exporter-src . .
9-
RUN go mod edit -go=$(go env GOVERSION | sed 's/go//') && go get -t -u ./... && go mod tidy
9+
RUN go mod edit -go=$(go env GOVERSION | sed 's/go//') && go mod tidy
1010
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /selenium-grid-exporter .
1111

1212
#========================

Router/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG VERSION=latest
66
FROM golang:latest AS exporter-builder
77
WORKDIR /src
88
COPY --from=exporter-src . .
9-
RUN go mod edit -go=$(go env GOVERSION | sed 's/go//') && go get -t -u ./... && go mod tidy
9+
RUN go mod edit -go=$(go env GOVERSION | sed 's/go//') && go mod tidy
1010
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /selenium-grid-exporter .
1111

1212
#========================

0 commit comments

Comments
 (0)