Skip to content

Commit

Permalink
Merge pull request #210 from step-security/varunsh-coder-patch-7
Browse files Browse the repository at this point in the history
Create baseline_checks.yml
  • Loading branch information
varunsh-coder authored Dec 19, 2024
2 parents 2d51a29 + 15e707c commit a7fc1af
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/baseline_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "Build"
on:
workflow_dispatch:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@int-sh
with:
egress-policy: audit

- 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/[email protected]
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

0 comments on commit a7fc1af

Please sign in to comment.