Dart Docker Image containing Firebase CLI for deployments to Firebase
1.4K
Dart Docker Image containing Firebase CLI for deployments to Firebase
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.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"
Content type
Image
Digest
Size
361.7 MB
Last updated
over 5 years ago
docker pull tkikuchi/dart-firebase-pipeline