Skip to content

Commit

Permalink
Create default clamd config file
Browse files Browse the repository at this point in the history
  • Loading branch information
monotypical committed Feb 20, 2025
1 parent 6d93254 commit cae30cf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy-aws-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ jobs:
DB_USERNAME: ukraine
DB_PASSWORD: password
GOVUK_NOTIFY_API_KEY: ${{ secrets.GOVUK_NOTIFY_API_KEY }}
CLAMD_HOST: localhost
CLAMD_PORT: 3310

steps:
- name: Checkout
Expand All @@ -99,6 +101,12 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install clamdscan
- name: Create clamav config file
run: |
sudo touch /etc/clamav/clamd.conf
sudo chown "$(whoami):$(whoami)" /etc/clamav/clamd.conf
echo "TCPAddr $CLAMD_HOST" > /etc/clamav/clamd.conf
echo "TCPSocket $CLAMD_PORT" >> /etc/clamav/clamd.conf
- name: Create DB
run: |
Expand Down

0 comments on commit cae30cf

Please sign in to comment.