Skip to content

Commit d37bcf8

Browse files
committed
fix: fix binary missing error
``` 4 | 5 | ADD ./fio/ /fio/ 6 | >>> ADD ./bin/metric-exporter /usr/local/sbin/ 7 | WORKDIR "/fio/" 8 | ENTRYPOINT ["bash", "/fio/run.sh"] ``` Signed-off-by: Derek Su <derek.su@suse.com>
1 parent 6f3f18e commit d37bcf8

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
- name: Run ci
4040
run: make ci
4141

42+
- name: Upload binaries
43+
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
44+
with:
45+
name: binaries_artifact
46+
path: ./bin/*
47+
4248
build_push_image:
4349
name: Build and push image
4450
runs-on: ubuntu-latest
@@ -48,6 +54,15 @@ jobs:
4854
- name: Checkout code
4955
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
5056

57+
- name: Download binaries
58+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
59+
with:
60+
name: binaries_artifact
61+
path: ./bin/
62+
63+
- name: Add executable permission
64+
run: chmod +x ./bin/*
65+
5166
- name: Login to Docker Hub
5267
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
5368
with:

0 commit comments

Comments
 (0)