Rename default branch to main (#23)
This commit is contained in:
Родитель
0f967c4b81
Коммит
a9452d14ed
|
@ -77,8 +77,8 @@ jobs:
|
|||
name: Deploy to GCR
|
||||
command: |
|
||||
DOCKER_IMAGE="gcr.io/${GOOGLE_PROJECT_ID}/leanplum-data-export"
|
||||
# Deploy master
|
||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||
# Deploy main
|
||||
if [ "${CIRCLE_BRANCH}" == "main" ]; then
|
||||
docker tag app:build "${DOCKER_IMAGE}:latest"
|
||||
docker push "${DOCKER_IMAGE}:latest"
|
||||
elif [ ! -z "${CIRCLE_TAG}" ]; then
|
||||
|
@ -117,4 +117,4 @@ workflows:
|
|||
tags:
|
||||
only: /.*/
|
||||
branches:
|
||||
only: master
|
||||
only: main
|
||||
|
|
|
@ -4,7 +4,7 @@ MAINTAINER Frank Bertsch <frank@mozilla.com>
|
|||
ARG APP_NAME=leanplum_data_export
|
||||
ENV APP_NAME=${APP_NAME}
|
||||
|
||||
# Guidelines here: https://github.com/mozilla-services/Dockerflow/blob/master/docs/building-container.md
|
||||
# Guidelines here: https://github.com/mozilla-services/Dockerflow/blob/main/docs/building-container.md
|
||||
ARG USER_ID="10001"
|
||||
ARG GROUP_ID="app"
|
||||
ARG HOME="/app"
|
||||
|
|
|
@ -72,4 +72,4 @@ make test
|
|||
|
||||
### Deployment
|
||||
|
||||
This project deploys automatically to Dockerhub. The latest release is used to run the job.
|
||||
This project deploys automatically to GCR. The latest release is used to run the job.
|
||||
|
|
Загрузка…
Ссылка в новой задаче