Sign inSign up

tkikuchi/dart-firebase-pipeline

By tkikuchi

•Updated over 5 years ago

Dart Docker Image containing Firebase CLI for deployments to Firebase

Image
0

1.4K

tkikuchi/dart-firebase-pipeline repository overview

⁠dart-firebase-pipeline

Dart Docker Image containing Firebase CLI for deployments to Firebase

⁠CI Samples

⁠Bitbucket Pipelines

bitbucket-pipelines.yml

image: tkikuchi/dart-firebase-pipeline:dart2.10-node14

pipelines:
  branches:
    master:
      - step:
          script:
            - firebase use $PROJECT_ID --token $FIREBASE_TOKEN
            - firebase deploy --only hosting -m "Branch $BITBUCKET_BRANCH Build $BITBUCKET_BUILD_NUMBER" --token $FIREBASE_TOKEN

⁠GitLab CI

.gitlab-ci.yml

image: tkikuchi/dart-firebase-pipeline:dart2.10-node12

stages:
  - deploy

deploy-prod:
  stage: deploy
  only:
    - master
  script:
    - firebase use "$PROJECT_ID" --token "$FIREBASE_TOKEN"
    - firebase deploy --only hosting -m "Pipe $CI_PIPELINE_ID Build $CI_BUILD_ID" --token "$FIREBASE_TOKEN"

Tag summary

Content type

Image

Digest

Size

361.7 MB

Last updated

over 5 years ago

docker pull tkikuchi/dart-firebase-pipeline