Skip to content

Hosted: File Monitoring with Harden-Runner #33

Hosted: File Monitoring with Harden-Runner

Hosted: File Monitoring with Harden-Runner #33

name: "Hosted: File Monitoring with Harden-Runner"
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@v2
with:
egress-policy: audit
- uses: actions/checkout@v3
- name: npm install
run: |
cd ./src/backdoor-demo
npm install
- uses: madhead/semver-utils@latest
id: version
with:
version: 1.2.3
- 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/backdoor-demo