mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-23 21:12:22 +00:00
github action for UI
This commit is contained in:
parent
906179557d
commit
a8940e1f63
36
.github/workflows/ui.yaml
vendored
Normal file
36
.github/workflows/ui.yaml
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
name: UI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'MalwareMultiScan.Ui/**'
|
||||
|
||||
jobs:
|
||||
docker_build_push:
|
||||
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.Ui
|
||||
file: Dockerfile
|
||||
platforms: linux/amd64
|
||||
tags: mindcollapse/malware-multi-scan-ui:latest
|
@ -7,7 +7,6 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="3.1.9" />
|
||||
<PackageReference Include="Mongo2Go" Version="2.2.14" />
|
||||
<PackageReference Include="Moq" Version="4.14.7" />
|
||||
<PackageReference Include="nunit" Version="3.12.0" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user