workflow shizzle
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -1,14 +1,12 @@
|
||||
name: Build & Test
|
||||
name: El Tigre - MauMau Server
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- mauster
|
||||
- developmaunt
|
||||
pull_request:
|
||||
branches:
|
||||
- mauster
|
||||
- developmaunt
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
@@ -36,3 +34,9 @@ jobs:
|
||||
run: dotnet build --configuration Release --no-restore
|
||||
- name: Test
|
||||
run: dotnet test --no-restore --verbosity normal
|
||||
- name: Build and push Docker images
|
||||
uses: docker/build-push-action@v4.0.0
|
||||
with:
|
||||
context: ../../
|
||||
file: Dockerfile
|
||||
target: final
|
||||
@@ -4,7 +4,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
#target: final
|
||||
target: final
|
||||
container_name: 'MauMau-Server'
|
||||
restart: always
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user