mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
feat(CI/Docker): build all containers in CI (#3289)
This commit is contained in:
48
.github/workflows/core_build.yml
vendored
48
.github/workflows/core_build.yml
vendored
@@ -47,16 +47,56 @@ jobs:
|
||||
|
||||
docker-build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
runs-on: ubuntu-18.04
|
||||
fail-fast: true
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Configure
|
||||
run: |
|
||||
docker --version
|
||||
docker-compose --version
|
||||
./apps/ci/docker/ci-docker-config.sh
|
||||
./bin/acore-docker-generate-etc
|
||||
- name: Build
|
||||
run: |
|
||||
./bin/acore-docker-build
|
||||
|
||||
docker-worldserver:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Configure
|
||||
run: |
|
||||
docker --version
|
||||
docker-compose --version
|
||||
- name: Build
|
||||
run: |
|
||||
docker build -t azerothcore/worldserver -f docker/worldserver/Dockerfile docker/worldserver
|
||||
|
||||
docker-authserver:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Configure
|
||||
run: |
|
||||
docker --version
|
||||
docker-compose --version
|
||||
- name: Build
|
||||
run: |
|
||||
docker build -t azerothcore/authserver -f docker/authserver/Dockerfile docker/authserver
|
||||
|
||||
docker-database:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Configure
|
||||
run: |
|
||||
docker --version
|
||||
docker-compose --version
|
||||
- name: Build
|
||||
run: |
|
||||
docker build -t azerothcore/database -f docker/database/Dockerfile .
|
||||
|
||||
@@ -19,7 +19,7 @@ If you just want to install the whole AzerothCore quickly using Docker Compose,
|
||||
To build the container image you have to be in the **main** folder of your local AzerothCore sources directory.
|
||||
|
||||
```
|
||||
docker build -t azerothcore/authserver -f docker/authserver/Dockerfile docker/authserver/
|
||||
docker build -t azerothcore/authserver -f docker/authserver/Dockerfile docker/authserver
|
||||
```
|
||||
|
||||
*For more information about the `docker build` command, check the [docker build doc](https://docs.docker.com/engine/reference/commandline/build/).*
|
||||
|
||||
Reference in New Issue
Block a user