-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: remove buildx features in github action
Signed-off-by: STRRL <[email protected]>
- Loading branch information
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,16 +7,14 @@ RUN git clone --depth 1 --branch v1.7.1 https://github.com/coredns/coredns | |
COPY . /k8s_dns_chaos | ||
# RUN ln -s /k8s_dns_chaos /coredns/plugin/k8s_dns_chaos | ||
RUN echo "k8s_dns_chaos:github.com/chaos-mesh/k8s_dns_chaos" >> /coredns/plugin.cfg | ||
RUN --mount=type=cache,target=/go \ | ||
cd coredns && \ | ||
RUN cd coredns && \ | ||
go mod edit -require github.com/chaos-mesh/[email protected] && \ | ||
go mod edit -replace github.com/chaos-mesh/k8s_dns_chaos=/k8s_dns_chaos && \ | ||
go mod edit -replace google.golang.org/grpc=google.golang.org/[email protected] && \ | ||
go get github.com/chaos-mesh/k8s_dns_chaos && \ | ||
go generate && \ | ||
go mod tidy | ||
RUN --mount=type=cache,target=/go \ | ||
cd coredns && make | ||
RUN cd coredns && make | ||
|
||
FROM debian:stable-slim AS certs | ||
RUN apt-get update && apt-get -uy upgrade | ||
|