Skip to content

Commit

Permalink
ci: update kindling-publish.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: niejiangang <niejiangang@harmonycloud.cn>
  • Loading branch information
NeJan2020 committed Jun 28, 2022
1 parent a3b81c7 commit cfe7584
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/kindling-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
env:
RELEASE: ${{ github.ref }}
steps:
- name: Set RELEASE
run: echo "RELEASE=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- uses: actions/checkout@v3
- name: build-by-builder-container
uses: addnab/docker-run-action@v3
Expand All @@ -33,7 +33,7 @@ jobs:
tags: practicedemo/kindling-agent-ci:${{ env.RELEASE }}
- name: Prepare Deploy
run: |
sed -i 's#kindlingproject/kindling-agent:latest#practicedemo/kindling-agent-ci:${{ env.RELEASE }}' deploy/agent/kindling-deploy.yml
sed -i 's#kindlingproject/kindling-agent:latest#practicedemo/kindling-agent-ci:${{ env.RELEASE }}#g' deploy/agent/kindling-deploy.yml
tar -czvf kindling-agent-${{ env.RELEASE }}-install.tar.gz deploy
- uses: ncipollo/release-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ collector: libkindling

.PHONY: libkindling
libkindling:
mkdir -p probe/build && cd probe/build && cmake -DBUILD_DRIVER=OFF -DCMAKE_INSTALL_PREFIX=/usr/lib64/ -DPROBE_VERSION=0.1.1dev .. && make && make install
mkdir -p probe/build && cd probe/build && cmake -DBUILD_DRIVER=OFF -DPROBE_VERSION=0.1.1dev .. && make
mkdir -p collector/docker/libso/. && cp -rf probe/build/src/libkindling.so collector/docker/libso/. && cp -rf probe/build/src/libkindling.so /usr/lib64/.

0 comments on commit cfe7584

Please sign in to comment.