-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4e08434
Showing
4 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Build and publish Docker image | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # At 00:00. | ||
push: | ||
tags: | ||
- '*.*.*' | ||
pull_request: | ||
branches: | ||
- 'master' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
- | ||
name: Docker meta | ||
id: docker_meta | ||
uses: crazy-max/ghaction-docker-meta@v1 | ||
with: | ||
images: tf2pickuppl/tf2-gameserver | ||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- | ||
name: Login to DockerHub | ||
if: github.event_name != 'pull_request' | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- | ||
name: Build and push | ||
id: docker_build | ||
uses: docker/build-push-action@v2 | ||
with: | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.docker_meta.outputs.tags }} | ||
labels: ${{ steps.docker_meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM melkortf/tf2-competitive | ||
LABEL maintainer="[email protected]" | ||
|
||
# DM is conflicting with the ready up mode | ||
RUN rm $SERVER_DIR/tf/addons/sourcemod/plugins/soap_{tf2dm,tournament}.smx | ||
|
||
RUN wget https://github.com/tf2pickup-pl/stadium-sm-plugin/raw/master/teams.smx -O $SERVER_DIR/tf/addons/sourcemod/plugins/teams.smx | ||
|
||
COPY server.cfg ${SERVER_DIR}/tf/cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TF2 server Docker image, crafted for tf2pickup.pl needs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
log on | ||
|
||
sv_contact "" | ||
sv_tags "" | ||
sv_allowdownload 1 | ||
sv_allowupload 1 | ||
sv_downloadurl "http://dl.serveme.tf/" | ||
|
||
tv_enable 1 | ||
tv_maxclients 10 | ||
|
||
sv_quota_stringcmdspersecond 400 | ||
|
||
tftrue_no_hats 0 | ||
tftrue_no_misc 0 | ||
tftrue_no_action 0 | ||
tftrue_tv_autorecord 1 | ||
tftrue_tv_demos_path demos | ||
tftrue_logs_roundend 0 | ||
tftrue_logs_accuracy 1 | ||
|
||
mp_tournament_readymode 1 | ||
mp_tournament_readymode_countdown 5 | ||
mp_tournament_readymode_min 2 | ||
mp_tournament_readymode_team_size 6 |