Skip to content

mikangali-docker/firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Firebase deploy image

Docker build

Web js ci-deploy image with nodejs and some npm packages :

  • firebase-tools
  • doppler

Sample usage for gitlab ci

image: mikangali/firebase

variables:
  PROJ_STAGING: "staging-project"
  PROJ_PRODUCTION: "prod-prejct"

deploy to staging:
  environment: staging
  script:
    - firebase use $PROJ_STAGING --token "$FIREBASE_TOKEN"
    - firebase deploy --token "$FIREBASE_TOKEN"
  only:
    - master

deploy to production:
  environment: production
  script:
    - firebase use $PROJ_PRODUCTION --token "$FIREBASE_TOKEN"
    - firebase deploy --token "$FIREBASE_TOKEN"
  only:
    - production

Releases

No releases published

Packages

No packages published