mirror of
				https://github.com/mr-vercetti/docker-svencoop-server.git
				synced 2025-11-04 07:35:46 +01:00 
			
		
		
		
	Add drone config
This commit is contained in:
		
							
								
								
									
										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
 | 
			
		||||
[](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.
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user