File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 15
15
outputs :
16
16
image_tag : ${{ steps.image_tag.outputs.image_tag }}
17
17
steps :
18
- - uses : actions/checkout@v2~
18
+ - uses : actions/checkout@v2
19
+ -
20
+ name : Set up Docker Buildx
21
+ uses : docker/setup-buildx-action@v2
19
22
- name : Extract Image Tag
20
23
shell : bash
21
24
run : |
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
7
7
COPY . /k8s_dns_chaos
8
8
# RUN ln -s /k8s_dns_chaos /coredns/plugin/k8s_dns_chaos
9
9
RUN echo "k8s_dns_chaos:github.com/chaos-mesh/k8s_dns_chaos" >> /coredns/plugin.cfg
10
- RUN --mount=type=cache,target=/go \
11
- cd coredns && \
10
+ RUN cd coredns && \
12
11
go mod edit -require github.com/chaos-mesh/
[email protected] && \
13
12
go mod edit -replace github.com/chaos-mesh/k8s_dns_chaos=/k8s_dns_chaos && \
14
13
go mod edit -replace google.golang.org/grpc=google.golang.org/
[email protected] && \
15
14
go get github.com/chaos-mesh/k8s_dns_chaos && \
16
15
go generate && \
17
16
go mod tidy
18
- RUN --mount=type=cache,target=/go \
19
- cd coredns && make
17
+ RUN cd coredns && make
20
18
21
19
FROM debian:stable-slim AS certs
22
20
RUN apt-get update && apt-get -uy upgrade
You can’t perform that action at this time.
0 commit comments