File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 32
32
- name : Build Chaos CoreDNS
33
33
run : |
34
34
echo "k8s_dns_chaos:github.com/chaos-mesh/k8s_dns_chaos" >> plugin.cfg
35
+ # TODO: replace with the local repo, not stuck with a certain commit
35
36
go mod edit -require github.com/chaos-mesh/k8s_dns_chaos@649fd5298a454eb59b6080fd670e7f7ea1f5b1b4
36
37
SWAGGER=1 UI=1 make coredns
37
- chmod +x coredns
38
38
39
39
- name : upload coredns binary
40
40
uses : actions/upload-artifact@v2
90
90
ARCH : ${{ matrix.arch }}
91
91
GITHUB_REPOSITORY_OWNER : ${{ github.repository_owner }}
92
92
run : |
93
+ # permissions would be lost after transfer by github artifacts, see: https://github.com/chaos-mesh/k8s_dns_chaos/issues/20
94
+ chmod +x coredns
93
95
docker build -t ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/chaos-coredns:$IMAGE_TAG-$ARCH .
94
96
95
97
- name : Upload Chaos CoreDNS
You can’t perform that action at this time.
0 commit comments