sudo-bot / action-docker-compose

A GitHub action for docker-compose
https://github.com/docker/compose#readme
Mozilla Public License 2.0
3 stars 3 forks source link

bug: no longer possible to pass multiple args #2

Closed muratso closed 1 year ago

muratso commented 1 year ago

Due to the changes in the commits 1ef7f662ec7cdf9223808e4578d0d8304eb81c0f and 5e3eedc7cd8117bb1836adbb6eecd6fabc0391cc and the way docker handles arguments, it's no longer possible to have something like

- name: run docker-compose
    uses: sudo-bot/action-docker-compose@latest
    with:
        # https://docs.docker.com/compose/reference/overview/
        cli-args: "up -d"
williamdes commented 1 year ago

Hi, Thank you for reporting this I am really sorry for the bug I introduced.. Will fix this shortly

williamdes commented 1 year ago

I reverted the changes, it should work better now. And I added more complex tests for this action. See: https://github.com/sudo-bot/action-docker-compose/actions/runs/3482473120/jobs/5824847607