arma-server-web-admin/.github/workflows/docker.yml

25 lines
443 B
YAML
Raw Normal View History

2022-12-28 12:53:16 +00:00
name: Docker
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker build
run: docker build . --tag arma-server-web-admin
- name: Docker run tests
run: docker run --env GAME_TYPE=arma3 --env GAME_PATH=/arma3 arma-server-web-admin npm test