From ab0c7f804258c5a548a19f7d537006e9a2270c3f Mon Sep 17 00:00:00 2001 From: Volodymyr Smirnov Date: Thu, 29 Oct 2020 16:54:36 +0200 Subject: [PATCH] github action pipelines for scanners --- .github/workflows/scanners.yaml | 92 ++++++++++++++++----------------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/.github/workflows/scanners.yaml b/.github/workflows/scanners.yaml index 0a4be14..cac1c02 100644 --- a/.github/workflows/scanners.yaml +++ b/.github/workflows/scanners.yaml @@ -39,58 +39,58 @@ jobs: 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 + 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 QEMU + uses: docker/setup-qemu-action@v1 - - name: Set up Docker Buildx - uses: docker/setup-buildx-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: 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 + - 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 + 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 QEMU + uses: docker/setup-qemu-action@v1 - - name: Set up Docker Buildx - uses: docker/setup-buildx-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: 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 \ No newline at end of file + - 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 \ No newline at end of file