Skip to content

Commit

Permalink
self-hosted netmon
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsh-coder committed Oct 2, 2023
1 parent 81a2c41 commit 3e552ea
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/self-hosted-file-monitor-with-hr.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Self-Hosted (VM): File Monitoring with Harden-Runner"
on:
workflow_dispatch:
push:

jobs:
build:
runs-on: [self-hosted, ec2]
Expand All @@ -13,7 +13,7 @@ jobs:
- name: npm install
run: |
cd ./src/backdoor-demo
npm install
npm install
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/self-hosted-network-monitoring-hr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Self-Hosted (VM): Network Monitoring with Harden-Runner"
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: [self-hosted, ec2]
steps:
- uses: actions/checkout@v3
- name: npm install
run: |
cd ./src/exfiltration-demo
npm install
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: ${{ github.repository }}/prod:latest
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
workdir: ./src/exfiltration-demo

0 comments on commit 3e552ea

Please sign in to comment.