mirror of
https://github.com/mr-vercetti/docker-svencoop-server.git
synced 2025-01-18 02:15:34 +01:00
Add drone config
This commit is contained in:
parent
1af25be2f7
commit
0bc536d84c
27
.drone.yml
Normal file
27
.drone.yml
Normal file
@ -0,0 +1,27 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: plugins/git
|
||||
settings:
|
||||
recursive: true
|
||||
- name: lint
|
||||
image: hadolint/hadolint:latest-debian
|
||||
commands:
|
||||
- hadolint Dockerfile --no-fail
|
||||
- name: build and publish
|
||||
image: plugins/docker
|
||||
environment:
|
||||
DOCKER_BUILDKIT: 1
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: mrvercetti/svencoop-server
|
||||
tags: ${DRONE_COMMIT_SHA:0:8}, latest
|
@ -1,4 +1,6 @@
|
||||
# mr-vercetti/docker-svencoop
|
||||
[![Build Status](https://drone.vercetti.cc/api/badges/mr-vercetti/docker-svencoop-server/status.svg)](https://drone.vercetti.cc/mr-vercetti/docker-svencoop-server)
|
||||
|
||||
Dedicated [Sven Co-Op](https://www.svencoop.com/manual/startup.html) server in a Docker container.
|
||||
|
||||
![Sven Co-op logo](https://raw.githubusercontent.com/mr-vercetti/docker-svencoop-server/master/.misc/svencoop-logo.jpg "Sven Co-op logo")
|
||||
@ -38,4 +40,4 @@ docker run -d \
|
||||
All of them are optional. Don't quote them as this can cause weird issues.
|
||||
* `GAME_PARAMS` - startup parameters for server, you can specify port, map, max number of players and much [more](https://www.svencoop.com/manual/server-basic.html#start-cmd).
|
||||
* `GAME_NAME` - name which will be displayed in server browser.
|
||||
* `GAME_PASSWORD` - if specified, the server will ask for it when joining the game.
|
||||
* `GAME_PASSWORD` - if specified, the server will ask for it when joining the game.
|
||||
|
Loading…
Reference in New Issue
Block a user