Skip to content

Commit

Permalink
Fixes in the README and build the docker image only upon release
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed Nov 21, 2022
1 parent bf938e8 commit bbf0c6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: docker

on:
push: ~
release: ~

jobs:
docker:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Remarks:
e.g.
```bash
docker run \
--rm \
--rm --user $UID \
-v MY_REPORTS_DIR:/reports \
-v MY_DATA_DIR:/data \
-v ~/.cvdupdate/database/:/var/lib/clamav \
Expand Down Expand Up @@ -120,7 +120,7 @@ Remarks:
# virus check
docker exec filechecker clamdscan --infected /data
# filechecker check
docker exec filechecker /opt/filechecker/bin/arche-filechecker --tmpDir /tmp --reportDir /reports /data {mode}
docker exec --user $UID filechecker /opt/filechecker/bin/arche-filechecker --tmpDir /tmp --reportDir /reports /data {mode}
```
# Test Files:
Expand Down

0 comments on commit bbf0c6b

Please sign in to comment.