Skip to content

FIXME: building issue on OpenSUSE 42.1 (4.1.12.1) #231

FIXME: building issue on OpenSUSE 42.1 (4.1.12.1)

FIXME: building issue on OpenSUSE 42.1 (4.1.12.1) #231

name: Elkeid_plugin_scanner
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build Scanner
uses: docker/build-push-action@v2
with:
file: plugins/scanner/docker/Dockerfile
load: true
tags: elkeid/scanner:latest
- name: Extract Scanner
id: extract-scanner
uses: shrink/actions-docker-extract@v1
with:
image: elkeid/scanner:latest
path: /Elkeid/plugins/scanner/output/.
- name: Upload Scanner
uses: actions/upload-artifact@v3
with:
path: ${{ steps.extract-scanner.outputs.destination }}
name: scanner