diff --git a/.github/actions/docker-tag-and-build/action.yml b/.github/actions/docker-tag-and-build/action.yml index 6a37cb53a..af988bed6 100644 --- a/.github/actions/docker-tag-and-build/action.yml +++ b/.github/actions/docker-tag-and-build/action.yml @@ -32,6 +32,7 @@ runs: file: apps/docker/Dockerfile push: ${{ inputs.push }} tags: ${{ steps.meta.outputs.tags }} + target: ${{ inputs.component-name }} build-args: | USER_ID=1000 GROUP_ID=1000 diff --git a/apps/docker/Dockerfile b/apps/docker/Dockerfile index 616432607..d500efe43 100644 --- a/apps/docker/Dockerfile +++ b/apps/docker/Dockerfile @@ -243,13 +243,13 @@ RUN mkdir -pv /azerothcore/env/dist/Cameras \ /azerothcore/env/dist/vmaps COPY --chown=$DOCKER_USER:$DOCKER_USER --from=build \ - /azerothcore/env/dist/bin/map_extractor /azerothcore/env/dist/map_extractor + /azerothcore/env/dist/bin/map_extractor /azerothcore/env/dist/bin/map_extractor COPY --chown=$DOCKER_USER:$DOCKER_USER --from=build \ - /azerothcore/env/dist/bin/mmaps_generator /azerothcore/env/dist/mmaps_generator + /azerothcore/env/dist/bin/mmaps_generator /azerothcore/env/dist/bin/mmaps_generator COPY --chown=$DOCKER_USER:$DOCKER_USER --from=build \ - /azerothcore/env/dist/bin/vmap4_assembler /azerothcore/env/dist/vmap4_assembler + /azerothcore/env/dist/bin/vmap4_assembler /azerothcore/env/dist/bin/vmap4_assembler COPY --chown=$DOCKER_USER:$DOCKER_USER --from=build \ - /azerothcore/env/dist/bin/vmap4_extractor /azerothcore/env/dist/vmap4_extractor + /azerothcore/env/dist/bin/vmap4_extractor /azerothcore/env/dist/bin/vmap4_extractor