fix(CORE/docker): image tag creation
This commit is contained in:
@@ -62,6 +62,8 @@ jobs:
|
|||||||
# pull the images first to load the docker cache layers
|
# pull the images first to load the docker cache layers
|
||||||
./acore.sh docker pull
|
./acore.sh docker pull
|
||||||
./acore.sh docker build
|
./acore.sh docker build
|
||||||
|
output=$(./acore.sh version | grep "AzerothCore Rev. ") && version=${output#"AzerothCore Rev. "}
|
||||||
|
DOCKER_IMAGE_TAG=$version docker compose --profile dev --profile local build
|
||||||
|
|
||||||
- name: Deploy Dev
|
- name: Deploy Dev
|
||||||
#env:
|
#env:
|
||||||
@@ -132,6 +134,8 @@ jobs:
|
|||||||
# pull the images first to load the docker cache layers
|
# pull the images first to load the docker cache layers
|
||||||
./acore.sh docker prod:pull
|
./acore.sh docker prod:pull
|
||||||
./acore.sh docker prod:build
|
./acore.sh docker prod:build
|
||||||
|
output=$(./acore.sh version | grep "AzerothCore Rev. ") && version=${output#"AzerothCore Rev. "}
|
||||||
|
DOCKER_IMAGE_TAG=$version ./acore.sh docker prod:build
|
||||||
# create the container to allow the copy right after
|
# create the container to allow the copy right after
|
||||||
docker compose create ac-build-prod
|
docker compose create ac-build-prod
|
||||||
docker compose cp ac-build-prod:/azerothcore/var/ccache var/docker/
|
docker compose cp ac-build-prod:/azerothcore/var/ccache var/docker/
|
||||||
|
|||||||
Reference in New Issue
Block a user