-
Notifications
You must be signed in to change notification settings - Fork 20
Using a Custom Restyler Image
Pat Brisbin edited this page Apr 10, 2023
·
5 revisions
Restyled can use any publicly docker-pull
-able image for a Restyler. This means you can build and host custom images for your project to use. This can be a great way to test changes you intend to submit upstream, or work around any limitations in functionality.
For example, if you require a 3rd party package that we can't install in our image:
FROM restyled/restyler-prettier:v2.8.7-1 # start with our image
RUN cd /app && npm install @foo/bar # add whatever you need
docker build --tag myco/prettier-restyler:v1 .
docker push myco/prettier-restyler:v1
restylers:
- prettier:
image: myco/prettier-restyler:v1
- "*"
📣 Please read: GitHub Actions Pivot
- Getting Started
- What to Expect
- Supported Languages
- Configuring
- Excluding Files
- Disabling
- Common Errors
- Missing GitHub Student Developer Pack Plan
- Plan Upgrade Required
- Configuration Errors
- Restyle Errors
- Restyle Error 127
- Restyle Error 137
- Push Rejected
- Git Error: bad object
- Git Error: Couldn't find remote ref
- Labels or Ignore Labels not working
- Restyle PR not created
- Restyle PR not closed
- Specific Restylers
- Reference
- Development
- Policies