Sign inSign up

mikangali/angular

By mikangali

Updated about 8 years ago

Angular + Firebase ci-deploy image

Image
0

210

mikangali/angular repository overview

Firebase deploy image

Docker build

Angular + Firebase ci-deploy image with nodejs and some npm packages :

  • firebase-tools
  • angular cli

Sample usage for gitlab ci

image: mikangali/firebase

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

deploy to staging:
  environment: staging
  script:
    - ng build --output-path app
    - firebase use $PROJ_STAGING --token "$FIREBASE_TOKEN"
    - firebase deploy --token "$FIREBASE_TOKEN"
  only:
  - master

deploy to production:
  environment: production
  script:
    - ng build --output-path app
    - firebase use $PROJ_PRODUCTION --token "$FIREBASE_TOKEN"
    - firebase deploy --token "$FIREBASE_TOKEN"
  only:
  - production

Tag summary

Content type

Image

Digest

Size

314.7 MB

Last updated

about 8 years ago

docker pull mikangali/angular