Skip to content

Update arc-solarwinds-simulation.yml #6

Update arc-solarwinds-simulation.yml

Update arc-solarwinds-simulation.yml #6

name: "ARC: File Monitoring with Harden-Runner"
on:
workflow_dispatch:
push:
jobs:
arc-solarwinds-simulation:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: npm install
run: |
cd ./src/backdoor-demo
npm install
- run: |
cd ./src/backdoor-demo
cat index.js
- 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