Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can have an option that can customize the docker context #114

Closed
yidian1997 opened this issue Jan 21, 2025 · 2 comments · Fixed by #115
Closed

can have an option that can customize the docker context #114

yidian1997 opened this issue Jan 21, 2025 · 2 comments · Fixed by #115
Assignees

Comments

@yidian1997
Copy link

Is your feature request related to a problem? Please describe.

I try to use https://github.com/docker/setup-docker-action with this compose-action
But the setup-docker-action will create a new context not change the default context.
So I need to customize the docker context that compose-action used to make sure the docker version is what I want.

Describe the solution you'd like

We can have an option that can customize the docker context that compose-action used

Describe alternatives you've considered A clear and concise description of
any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature
request here.

@neilime neilime linked a pull request Jan 21, 2025 that will close this issue
@neilime neilime self-assigned this Jan 21, 2025
@neilime
Copy link
Collaborator

neilime commented Jan 21, 2025

@yidian1997 can you try with the branch "114-can-have-an-option-that-can-customize-the-docker-context"

There is a new input you can use:

  - uses: hoverkraft-tech/compose-action@114-can-have-an-option-that-can-customize-the-docker-context
    with:
        docker-flags: "--context test-context"

@neilime neilime reopened this Jan 30, 2025
@neilime
Copy link
Collaborator

neilime commented Jan 30, 2025

@yidian1997 you will be able to test with new version: https://github.com/hoverkraft-tech/compose-action/releases/tag/v2.2.0

Feel free to add a feedback.

@neilime neilime closed this as completed Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants