Skip to content

Commit

Permalink
Update hosted-network-without-hr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsh-coder committed Sep 23, 2023
1 parent 0049dd0 commit 6acb0ad
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/hosted-network-without-hr.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
name: Hosted - Network Filtering Without Harden Runner

on: [workflow_dispatch]
name: Hosted: Network Monitoring without Harden-Runner
on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
#Add StepSecurity Harden Runner from here onwards
- uses: actions/checkout@v2
with:
fetch-depth: 2
- uses: actions/setup-go@v2
with:
go-version: '1.17'
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
- uses: actions/checkout@v3
- name: npm install
run: |
bash <(curl -s https://codecov.io/bash)
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 6acb0ad

Please sign in to comment.