Sign inSign up

paliari/firebase-tools

By paliari

Updated about 7 years ago

Used to deploy firebase cloud functions, database rules and hosting

Image
0

1.1K

paliari/firebase-tools repository overview

docker-firebase-tools

Docker image with firebase-tools

Used to deploy firebase cloud functions, database rules and hosting

TAGOS
1.0.0-node10-alpineAlpine
1.0.0-node10-stretchDebian 9
1.0.0-node8-stretchDebian 9

Bash into the container

docker container run --rm -p 9005:9005 -it paliari/firebase-tools:1.0.0-node10-alpine sh

Generate token to ci autentication

docker container run --rm -p 9005:9005 -it paliari/firebase-tools:1.0.0-node10-alpine firebase login:ci

Gitlab ci example

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

Tag summary

Content type

Image

Digest

Size

338.6 MB

Last updated

about 7 years ago

docker pull paliari/firebase-tools:1.0.0-node10-stretch