-
Notifications
You must be signed in to change notification settings - Fork 959
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
Nextjs Image Optimization doesn't Work on Firebase Hosting if Deployed Through GitHub Actions #6318
Comments
+1 |
+1 |
+1 |
1 similar comment
+1 |
This issue was fixed in FirebaseExtended/firebase-framework-tools#125 and will be available in the next release of |
firebase-frameworks 0.11.1 was released yesterday which should fix this issue |
I am sorry if my question seems stupid but is my first time using Firebase on NextJs. If my deploy is automated on Github Actions how can I ensure to update it to the latest version? (I made a PR and I still have this error) |
[REQUIRED] Environment info
firebase-tools: v12.5.2
Platform: Ubuntu, GitHub Actions
[REQUIRED] Test case
Sample Nextjs app with Image Optimization enabled.
[REQUIRED] Steps to reproduce
Below is the workflow for GitHub Actions
[REQUIRED] Expected behavior
Deployment is successful without any errors. The actual website will show the images.
[REQUIRED] Actual behavior
Deployment was successful as per the logs from the action, but the images failed to show on the site. Here is the error log from Cloud Functions:
Turns out that running
firebase deploy
locally works fine. Only GitHub Actions have issue with it.The text was updated successfully, but these errors were encountered: