-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Adding Docker image build to release script #6255
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
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #6255 +/- ##
=======================================
Coverage 54.58% 54.58%
=======================================
Files 346 346
Lines 23717 23717
Branches 4875 4875
=======================================
Hits 12946 12946
Misses 9586 9586
Partials 1185 1185 ☔ View full report in Codecov by Sentry. |
scripts/publish.sh
Outdated
| echo "Pushed to GitHub." | ||
|
|
||
| echo "Publishing Docker image..." | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing a step here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Derp - should have cleaned this up, was a remnant of a different approach
scripts/publish/cloudbuild.yaml
Outdated
| ] | ||
|
|
||
| images: | ||
| - "gcr.io/$PROJECT_ID/firebase" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe firebase-cli or firebase-tools?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, I think.
|
Should probably store things in Artifact Registry instead of GCR even on a temporary basis since GCR is not recommended for new things. |
scripts/publish/cloudbuild.yaml
Outdated
| ] | ||
|
|
||
| images: | ||
| - "gcr.io/$PROJECT_ID/firebase" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, I think.
|
Cleaned this up, and switched to publishing the images to AR on firebase-cli instead of GCR on fir-tools-builds |
|
Happy 2024! @joehan, is there a guesstimate when you think this will get to the finish line? |
* Adding Docker image build to publish script * formats * starting on PR fixes * Switching to AR on firebase-cli instead of GCR on fir-tools-builds * Updating to include latest emulators * format
Description
Follow up to #6094 - adding a step to the release script to build a Docker image of the latest firebase-tools version on each release.
Right now, this stores the image in Artifact Registry on the firebase-cli project I'm not sure that this is ultimately where we want it to live, so I'm going to reach out to OSPO folks about other options.
Scenarios Tested
Using the scripts/publish/firebase-docker-image/run.sh on a test project, I successfully built images with the correct tags.