mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-24 05:22:22 +00:00
github action pipelines for windows defender
This commit is contained in:
parent
9b17fe8743
commit
6da02c870b
96
.github/workflows/scanners.yaml
vendored
Normal file
96
.github/workflows/scanners.yaml
vendored
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
name: Scanners
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * 1"
|
||||||
|
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- 'MalwareMultiScan.Backends/**'
|
||||||
|
- 'MalwareMultiScan.Scanner/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker_build_push_base:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
- name: Login to DockerHub
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
username: mindcollapse
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
id: docker_build
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
context: .
|
||||||
|
file: MalwareMultiScan.Scanner/Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
tags: mindcollapse/malware-multi-scan-scanner:latest
|
||||||
|
|
||||||
|
docker_build_push_clamav:
|
||||||
|
needs: docker_build_push_base
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
- name: Login to DockerHub
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
username: mindcollapse
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
id: docker_build
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
context: MalwareMultiScan.Backends/Dockerfiles
|
||||||
|
file: MalwareMultiScan.Backends/Dockerfiles/Clamav.Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
tags: mindcollapse/malware-multi-scan-scanner-clamav:latest
|
||||||
|
|
||||||
|
docker_build_push_windows_defender:
|
||||||
|
needs: docker_build_push_base
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
- name: Login to DockerHub
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
username: mindcollapse
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
id: docker_build
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
context: MalwareMultiScan.Backends/Dockerfiles
|
||||||
|
file: MalwareMultiScan.Backends/Dockerfiles/WindowsDefender.Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
tags: mindcollapse/malware-multi-scan-scanner-windows-defender:latest
|
@ -4,8 +4,8 @@
|
|||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
<Company>Volodymyr Smirnov</Company>
|
<Company>Volodymyr Smirnov</Company>
|
||||||
<Product>MalwareMultiScan Scanner</Product>
|
<Product>MalwareMultiScan Scanner</Product>
|
||||||
<AssemblyVersion>1.0.0</AssemblyVersion>
|
<AssemblyVersion>1.0.1</AssemblyVersion>
|
||||||
<FileVersion>1.0.0</FileVersion>
|
<FileVersion>1.0.1</FileVersion>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user