diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 212290d..83c6301 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -43,7 +43,7 @@ jobs: modulenames="chipseq gwas" echo "modulenames=$modulenames" >> $GITHUB_OUTPUT # echo $modulenames | tr ' ' '\n' | sed 's/^/type=gha,scope=builder-/' | paste -s - echo "matrix={\"include\":$(jq --compact-output --null-input '$ARGS.positional' --args -- $modulenames)}" >> $GITHUB_OUTPUT + echo "matrix={\"include\":$(echo $modulenames | jq -R 'split(" ") | map({modulename: .})')}" >> $GITHUB_OUTPUT build-module-images: runs-on: ubuntu-latest @@ -73,6 +73,7 @@ jobs: uses: docker/metadata-action@v4 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + - name: prune run: docker system prune -af @@ -83,7 +84,7 @@ jobs: context: . file: Dockerfile push: false - tags: ${{ steps.meta.outputs.tags }} # TODO: do we need this? + #tags: ${{ steps.meta.outputs.tags }} # TODO: do we need this? cache-to: type=gha,mode=max target: builder builder-args: | @@ -115,6 +116,7 @@ jobs: uses: docker/metadata-action@v4 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + - name: prune run: docker system prune -af @@ -140,4 +142,4 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max - target: primary + target: primary \ No newline at end of file