Skip to content

Commit

Permalink
Install UFW on the GH Actions runner (i.e., the Docker host)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsf9k committed Apr 19, 2024
1 parent 465c339 commit e1b918b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,14 @@ jobs:
uses: step-security/harden-runner@v2
with:
egress-policy: audit
# This ensures that whatever code (libraries, kernel modules,
# etc.) required on the Docker host to support running UFW in a
# Docker container is installed.
- id: install-ufw-host
name: Install UFW on the host
run: |
sudo apt-get update
sudo apt-get install ufw
- id: setup-env
uses: cisagov/setup-env-github-action@develop
- uses: actions/checkout@v4
Expand Down

0 comments on commit e1b918b

Please sign in to comment.