diff --git a/.github/workflows/docker-image-build.yml b/.github/workflows/docker-image-build.yml index 8ce08d791..1fea59537 100644 --- a/.github/workflows/docker-image-build.yml +++ b/.github/workflows/docker-image-build.yml @@ -134,10 +134,11 @@ jobs: - name: Build new es committer image run: | + for type in $committer_types; do - + com_type=$type cp .github/workflows/docker-files/Dockerfile-com .github/workflows/docker-files/Dockerfile-com-$type - sed -i 's/replace-this-with-committer-files-in-dockerfile/mkdir .\/${{env.type}}-folder/g' .github/workflows/docker-files/Dockerfile-com-$type + sed -i 's/replace-this-with-committer-files-in-dockerfile/mkdir .\/${com_type}-folder/g' .github/workflows/docker-files/Dockerfile-com-$type more .github/workflows/docker-files/Dockerfile-com-$type docker build . --file .github/workflows/docker-files/Dockerfile-com-$type --build-arg build_version=${{env.version}} --tag ${{env.version}}-crawler-$type docker image ls -a