Skip to content

Commit

Permalink
more mods (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov authored Apr 5, 2024
2 parents 72374c4 + e561c05 commit ff9ed96
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
- valve
- cstrike
- czero
- dod
- gearbox
- tfc
- ricochet
- dmc
env:
needToPush: ${{ github.ref == 'refs/heads/master' }}

Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/dockerhub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,28 @@ jobs:
- valve
- cstrike
- czero
- dod
- gearbox
- tfc
- ricochet
- dmc
include:
- mod: valve
logoUrl: "https://cdn.cloudflare.steamstatic.com/steam/apps/70/header.jpg"
- mod: cstrike
logoUrl: "https://cdn.cloudflare.steamstatic.com/steam/apps/10/header.jpg"
- mod: czero
logoUrl: "https://cdn.cloudflare.steamstatic.com/steam/apps/80/header.jpg"
- mod: dod
logoUrl: "https://cdn.cloudflare.steamstatic.com/steam/apps/30/header.jpg"
- mod: gearbox
logoUrl: "https://cdn.cloudflare.steamstatic.com/steam/apps/50/header.jpg"
- mod: tfc
logoUrl: "https://cdn.cloudflare.steamstatic.com/steam/apps/20/header.jpg"
- mod: ricochet
logoUrl: "https://cdn.cloudflare.steamstatic.com/steam/apps/60/header.jpg"
- mod: dmc
logoUrl: "https://cdn.cloudflare.steamstatic.com/steam/apps/40/header.jpg"
env:
TEAMPLATE_PATH: .github/.teamplate-README.md

Expand Down
7 changes: 6 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@
"options": [
"valve",
"cstrike",
"czero"
"czero",
"dod",
"gearbox",
"tfc",
"ricochet",
"dmc"
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ ARG MOD
ENV MOD=${MOD}

# Set default command
CMD ["bash", "-c", "./hlds_run -game ${MOD} +ip 0.0.0.0 -port 27016 +map $(head -n 1 ./${MOD}/mapcycle.txt)"]
CMD ["bash", "-c", "./hlds_run -game ${MOD} +ip 0.0.0.0 -port 27016 +map $(grep -oE '^\\s*(\\w+)' ./${MOD}/mapcycle.txt | head -n 1 | xargs)"]
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ The base image is [Debian](https://hub.docker.com/_/debian).
| HLDS valve | [`public`, `steam_legacy`](https://hub.docker.com/r/hldsdocker/valve/tags) | [![Docker Pulls](https://img.shields.io/docker/pulls/hldsdocker/valve?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/valve) | [![Docker Image Size](https://img.shields.io/docker/image-size/hldsdocker/valve?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/valve) |
| HLDS cstrike | [`public`, `steam_legacy`](https://hub.docker.com/r/hldsdocker/cstrike/tags) | [![Docker Pulls](https://img.shields.io/docker/pulls/hldsdocker/cstrike?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/cstrike) | [![Docker Image Size](https://img.shields.io/docker/image-size/hldsdocker/cstrike?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/cstrike) |
| HLDS czero | [`public`, `steam_legacy`](https://hub.docker.com/r/hldsdocker/czero/tags) | [![Docker Pulls](https://img.shields.io/docker/pulls/hldsdocker/czero?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/czero) | [![Docker Image Size](https://img.shields.io/docker/image-size/hldsdocker/czero?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/czero) |
| HLDS dod | [`public`](https://hub.docker.com/r/hldsdocker/dod/tags) | [![Docker Pulls](https://img.shields.io/docker/pulls/hldsdocker/dod?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/dod) | [![Docker Image Size](https://img.shields.io/docker/image-size/hldsdocker/dod?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/dod) |
| HLDS gearbox | [`public`](https://hub.docker.com/r/hldsdocker/gearbox/tags) | [![Docker Pulls](https://img.shields.io/docker/pulls/hldsdocker/gearbox?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/gearbox) | [![Docker Image Size](https://img.shields.io/docker/image-size/hldsdocker/gearbox?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/gearbox) |
| HLDS tfc | [`public`](https://hub.docker.com/r/hldsdocker/tfc/tags) | [![Docker Pulls](https://img.shields.io/docker/pulls/hldsdocker/tfc?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/tfc) | [![Docker Image Size](https://img.shields.io/docker/image-size/hldsdocker/tfc?logo=docker&logoColor=blue)](https://hub.docker.com/r/hldsdocker/tfc) |

### Tags
| Name | Description |
Expand Down
15 changes: 15 additions & 0 deletions utils/getDepotsByMod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ case "$1" in
"czero")
echo "1 4 1006 11 81"
;;
"dod")
echo "1 4 1006 31"
;;
"gearbox")
echo "1 4 1006 51"
;;
"tfc")
echo "1 4 1006 21"
;;
"ricochet")
echo "1 4 1006 61"
;;
"dmc")
echo "1 4 1006 41"
;;
*)
echo "Invalid argument \"$1\""
exit 1
Expand Down

0 comments on commit ff9ed96

Please sign in to comment.