ci: Remove Segment key unless on master branch (#20669)
This commit is contained in:
parent
650ddf655c
commit
fb8870765a
4
.github/workflows/client-build.yml
vendored
4
.github/workflows/client-build.yml
vendored
|
|
@ -124,9 +124,11 @@ jobs:
|
||||||
# This is to ensure that we don't need to configure it in each installation
|
# This is to ensure that we don't need to configure it in each installation
|
||||||
- name: Create the bundle
|
- name: Create the bundle
|
||||||
run: |
|
run: |
|
||||||
|
if [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
|
||||||
|
export REACT_APP_SEGMENT_CE_KEY="${{ secrets.APPSMITH_SEGMENT_CE_KEY }}"
|
||||||
|
fi
|
||||||
REACT_APP_ENVIRONMENT=${{steps.vars.outputs.REACT_APP_ENVIRONMENT}} \
|
REACT_APP_ENVIRONMENT=${{steps.vars.outputs.REACT_APP_ENVIRONMENT}} \
|
||||||
REACT_APP_FUSIONCHARTS_LICENSE_KEY=${{ secrets.APPSMITH_FUSIONCHARTS_LICENSE_KEY }} \
|
REACT_APP_FUSIONCHARTS_LICENSE_KEY=${{ secrets.APPSMITH_FUSIONCHARTS_LICENSE_KEY }} \
|
||||||
REACT_APP_SEGMENT_CE_KEY=${{ secrets.APPSMITH_SEGMENT_CE_KEY }} \
|
|
||||||
SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} \
|
SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} \
|
||||||
REACT_APP_VERSION_ID=${{ steps.vars.outputs.version }} \
|
REACT_APP_VERSION_ID=${{ steps.vars.outputs.version }} \
|
||||||
REACT_APP_VERSION_RELEASE_DATE=$(date -u '+%Y-%m-%dT%H:%M:%SZ') \
|
REACT_APP_VERSION_RELEASE_DATE=$(date -u '+%Y-%m-%dT%H:%M:%SZ') \
|
||||||
|
|
|
||||||
|
|
@ -219,8 +219,6 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/arm64,linux/amd64
|
platforms: linux/arm64,linux/amd64
|
||||||
build-args: |
|
|
||||||
APPSMITH_SEGMENT_CE_KEY=${{ secrets.APPSMITH_SEGMENT_CE_KEY_RELEASE }}
|
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-ce:${{steps.vars.outputs.tag}}
|
${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-ce:${{steps.vars.outputs.tag}}
|
||||||
|
|
||||||
|
|
@ -266,8 +264,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: app/server
|
context: app/server
|
||||||
push: true
|
push: true
|
||||||
build-args: |
|
|
||||||
APPSMITH_SEGMENT_CE_KEY=${{ secrets.APPSMITH_SEGMENT_CE_KEY_RELEASE }}
|
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-server:${{steps.vars.outputs.tag}}
|
${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-server:${{steps.vars.outputs.tag}}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user