https://github.com/cotiq/docker-firebase-tools
A lightweight Docker image with Firebase CLI
https://github.com/cotiq/docker-firebase-tools
docker firebase firebase-tools
Last synced: about 2 months ago
JSON representation
A lightweight Docker image with Firebase CLI
- Host: GitHub
- URL: https://github.com/cotiq/docker-firebase-tools
- Owner: cotiq
- Created: 2023-06-20T15:44:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-04-13T18:48:14.000Z (3 months ago)
- Last Synced: 2026-04-13T20:26:36.223Z (3 months ago)
- Topics: docker, firebase, firebase-tools
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/cotiq/firebase-tools/tags
- Size: 123 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# firebase-tools
A lightweight [Docker image](https://hub.docker.com/r/cotiq/firebase-tools) with Firebase CLI.
### Multi-Architecture Support
This image is built for multiple platforms and works natively on:
- `linux/amd64` (x86_64)
- `linux/arm64` (Apple Silicon, AWS Graviton, etc.)
Docker will automatically pull the correct image for your architecture.
### How to use in GitHub Actions
In the workflow yaml file, use the image `cotiq/firebase-tools:latest`.
```
jobs:
# Other pipeline stages omitted for brevity
deploy:
runs-on: ubuntu-latest
container:
image: cotiq/firebase-tools:latest
env:
FIREBASE_TOKEN: "${{ secrets.FIREBASE_TOKEN }}"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Build App
run: npm run build
- name: Deploy to Firebase
run: |
firebase use production
firebase deploy --only hosting -m "Pipeline $GITHUB_RUN_NUMBER, build $GITHUB_RUN_ID" --non-interactive
```
### How to use in Gitlab workflows
In the workflow yaml file, use the image `cotiq/firebase-tools:latest`.
```
# Other pipeline stages omitted for brevity
deploy-production:
stage: deploy
image: cotiq/firebase-tools:latest
script:
- firebase deploy --only hosting -m "Pipeline $CI_PIPELINE_ID, build $CI_BUILD_ID" --non-interactive
only:
- main
```