diff --git a/.github/workflows/docker-image-build.yml b/.github/workflows/docker-image-build.yml index c0cd624b3..eccf37017 100644 --- a/.github/workflows/docker-image-build.yml +++ b/.github/workflows/docker-image-build.yml @@ -135,8 +135,8 @@ jobs: - name: Build new es committer image run: | - for type in "${committer_types[@]}"; do - com_type=$type + for type in $committer_types; do + cp .github/workflows/docker-files/Dockerfile-com .github/workflows/docker-files/Dockerfile-com-$type sed -i 's/replace-this-with-committer-files-in-dockerfile/$type-folder/g' .github/workflows/docker-files/Dockerfile-com-$type more .github/workflows/docker-files/Dockerfile-com-$type