Skip to content

fix(jobs): move runner flags outside shared #5323

fix(jobs): move runner flags outside shared

fix(jobs): move runner flags outside shared #5323

Workflow file for this run

name: '[Release] Build unified Docker image'
on:
push:
branches:
- master
- staging/**
pull_request:
merge_group:
jobs:
build-image:
strategy:
matrix:
group:
- name: 'staging'
if: true
sentry_key: SENTRY_KEY_staging
- name: 'prod'
if: ${{ github.ref == 'refs/heads/master' }}
sentry_key: SENTRY_KEY_prod
posthog_key: POSTHOG_KEY_prod
# Commented for now
# - name: 'enterprise'
# if: ${{ github.ref == 'refs/heads/master' }}
secrets: inherit
uses: ./.github/workflows/build-image-reusable.yaml
with:
if: ${{ matrix.group.if }}
name: ${{ matrix.group.name }}
key_for_sentry_secret: ${{ matrix.group.sentry_key }}
key_for_posthog_secret: ${{ matrix.group.posthog_key }}