Skip to content

Conversation

@jaapio
Copy link

@jaapio jaapio commented Jan 27, 2019

For many projects you will need extra php extensions and phpstan plugins. The changes in this PR allow you to define 2 environment variables to customize the image without any need to publish your own image and maintain your own custom actions.

I think it is needless to have multiple forks of this very nice small setup for a working github action. The suggested changes are used in phpDocumentor/phpDocumentor#2049.

Copy link
Owner

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, can you add an example for a php extension and one example for a phpstan plugin to the README?

@jaapio
Copy link
Author

jaapio commented Jan 27, 2019

Added the examples.

@jaapio
Copy link
Author

jaapio commented Feb 7, 2019

I understand that this is a unwanted side effect of the change. Do you have a suggestion to work around? I think the only option is to let everyone that needs a variation on this image, push its image to docker hub. I think there is no way to do that in the work flow only when needed.

We could write down the effects of extra packages. And suggest that it should only be used in prototype phase of your workflow?

@jaapio jaapio closed this Aug 1, 2019
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 this pull request may close these issues.

2 participants