Skip to content

Commit 9f9e425

Browse files
committed
fix: image build ci
Signed-off-by: STRRL <[email protected]>
1 parent 7543244 commit 9f9e425

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/upload_image.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
uses: actions/download-artifact@v2
8383
with:
8484
name: coredns-${{ matrix.arch }}
85-
path: coredns
85+
path: coredns-artifacts
8686

8787
- name: Build Chaos CoreDNS Image
8888
env:
@@ -91,7 +91,8 @@ jobs:
9191
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
9292
run: |
9393
# permissions would be lost after transfer by github artifacts, see: https://github.com/chaos-mesh/k8s_dns_chaos/issues/20
94-
chmod +x coredns/coredns
94+
chmod +x coredns-artifacts/coredns
95+
mv coredns-artifacts/coredns coredns
9596
docker build -t ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/chaos-coredns:$IMAGE_TAG-$ARCH .
9697
9798
- name: Upload Chaos CoreDNS

0 commit comments

Comments
 (0)