diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index a5ff994..e570980 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -29,7 +29,7 @@ jobs: - name: Find directories with Dockerfile id: set-matrix run: | - DOCKER_DIRS=$(find . -name Dockerfile -printf '%h\n' | jq -R -s -c 'split("\n")[:-1]') + DOCKER_DIRS=$(find . -name Dockerfile -printf '%h\n' | sed 's|^./||' | jq -R -s -c 'split("\n")[:-1]') echo "::set-output name=matrix::${DOCKER_DIRS}" build: needs: generate-matrix