Hosted: Network Monitoring without Harden-Runner #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Hosted: Network Monitoring without Harden-Runner" | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: crazy-max/ghaction-github-status@v4 | |
- uses: actions/checkout@v3 | |
- name: npm install | |
run: | | |
cd ./src/exfiltration-demo | |
npm install | |
- name: get-npm-version | |
id: package-version | |
uses: martinbeentjes/npm-get-version-action@v1.3.1 | |
with: | |
path: src/exfiltration-demo | |
- 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 |