workflow shizzle

This commit is contained in:
Jordan Geurtsen
2023-03-23 21:15:53 +01:00
parent b4570d8313
commit 2e24fa706c
2 changed files with 10 additions and 6 deletions

View File

@@ -1,14 +1,12 @@
name: Build & Test name: El Tigre - MauMau Server
on: on:
push: push:
branches: branches:
- mauster - mauster
- developmaunt
pull_request: pull_request:
branches: branches:
- mauster - mauster
- developmaunt
workflow_dispatch: workflow_dispatch:
concurrency: concurrency:
@@ -36,3 +34,9 @@ jobs:
run: dotnet build --configuration Release --no-restore run: dotnet build --configuration Release --no-restore
- name: Test - name: Test
run: dotnet test --no-restore --verbosity normal 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

View File

@@ -4,7 +4,7 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
#target: final target: final
container_name: 'MauMau-Server' container_name: 'MauMau-Server'
restart: always restart: always
ports: ports: