Compare commits
2 Commits
main
...
developmen
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0fb3ccd506 | ||
![]() |
a6ef23fd69 |
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -100,6 +100,8 @@ jobs:
|
||||
outputs:
|
||||
tag_name: ${{ steps.set_tag.outputs.tag_name }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Determine next semantic version tag
|
||||
id: set_tag
|
||||
run: |
|
||||
@@ -231,8 +233,8 @@ jobs:
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.AUTOMATION_USERNAME }}
|
||||
password: ${{ secrets.AUTOMATION_PASSWORD }}
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build Docker image
|
||||
uses: docker/build-push-action@v4
|
||||
@@ -249,7 +251,7 @@ jobs:
|
||||
tag:
|
||||
name: Create Tag
|
||||
needs: [build, set-tag]
|
||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||
if: github.event_name == 'push'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -294,6 +296,4 @@ jobs:
|
||||
echo "✅ All checks passed!" >> $GITHUB_STEP_SUMMARY
|
||||
else
|
||||
echo "❌ Some checks failed. Please review the logs." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
|
||||
#test
|
||||
fi
|
@@ -153,5 +153,3 @@ pub async fn send_metrics(
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
//test
|
@@ -1,6 +1,6 @@
|
||||
/// WatcherAgent - A Rust-based system monitoring agent
|
||||
/// This agent collects hardware metrics and sends them to a backend server.
|
||||
/// It supports CPU, GPU, RAM, disk and network metrics.
|
||||
/// It supports CPU, GPU, RAM, disk, and network metrics.
|
||||
pub mod api;
|
||||
pub mod hardware;
|
||||
pub mod metrics;
|
||||
|
Reference in New Issue
Block a user