Skip to content

Commit c33f152

Browse files
authored
Merge pull request #21 from Gearheads/bugfix/build-coredns-action
fix: build coredns action is missing execute permission for coredns binary
2 parents c0a3487 + c10ed0b commit c33f152

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/upload_image.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ jobs:
3131

3232
- name: Build Chaos CoreDNS
3333
run: |
34-
sed -i '/kubernetes/a\k8s_dns_chaos\:k8s_dns_chaos' plugin.cfg
34+
echo "k8s_dns_chaos:github.com/chaos-mesh/k8s_dns_chaos" >> plugin.cfg
3535
go mod edit -require github.com/chaos-mesh/k8s_dns_chaos@649fd5298a454eb59b6080fd670e7f7ea1f5b1b4
3636
SWAGGER=1 UI=1 make coredns
37+
chmod +x coredns
3738
3839
- name: upload coredns binary
3940
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)