Docker image with firebase-tools
Used to deploy firebase cloud functions, database rules and hosting
TAG | OS |
---|---|
1.0.0-node18-alpine | Alpine |
1.0.0-node16-alpine | Alpine |
1.0.0-node14-alpine | Alpine |
1.0.0-node12-alpine | Alpine |
1.0.0-node10-alpine | Alpine |
1.0.0-node18-stretch | Debian |
1.0.0-node16-stretch | Debian |
1.0.0-node14-stretch | Debian |
1.0.0-node12-stretch | Debian 9 |
1.0.0-node10-stretch | Debian 9 |
1.0.0-node8-stretch | Debian 9 |
docker container run --rm -p 9005:9005 -it paliari/firebase-tools:1.0.0-node10-alpine sh
docker container run --rm -p 9005:9005 -it paliari/firebase-tools:1.0.0-node10-alpine firebase login:ci
image: paliari/firebase-tools:1.0.0-node10-alpine
stages:
- deploy
deploy-prod:
stage: deploy
only:
- master
script:
- firebase use <project-name> --token $FIREBASE_TOKEN
- firebase deploy --only database -m "Pipe $CI_PIPELINE_ID Build $CI_BUILD_ID" --token $FIREBASE_TOKEN