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:
|
docker-build:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: true
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
docker --version
|
docker --version
|
||||||
docker-compose --version
|
docker-compose --version
|
||||||
./apps/ci/docker/ci-docker-config.sh
|
|
||||||
./bin/acore-docker-generate-etc
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./bin/acore-docker-build
|
./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.
|
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/).*
|
*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