-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (19 loc) · 967 Bytes
/
docker-image.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Docker Image CI
on:
push:
branches: [ "trunk" ]
pull_request:
branches: [ "trunk" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create private vanilla folders
run: mkdir -p ./1.20.1/private/vanilla/.map/world | mkdir -p ./1.20.1/private/vanilla/.map/world_nether | mkdir -p ./1.20.1/private/vanilla/.map/world_the_end
- name: Create private spigot folders
run: mkdir -p ./1.20.1/private/spigot/.map/world | mkdir -p ./1.20.1/private/spigot/.map/world_nether | mkdir -p ./1.20.1/private/spigot/.map/world_the_end
- name: Create public anarchy.lavalawsless.com folders
run: mkdir -p ./1.20.1/public/anarchy.lavalawsless.com/.map/world | mkdir -p ./1.20.1/public/anarchy.lavalawsless.com/.map/world_nether | mkdir -p ./1.20.1/public/anarchy.lavalawsless.com/.map/world_the_end
- name: Compose Minecraft servers
run: docker compose -p minecraft-servers up -d