:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(cd): emit the ecr-repository job output from a step (#80716)
Stephen Schmidt85c2425c4581
diff --git a/.github/workflows/container-images-cd.yml b/.github/workflows/container-images-cd.ymlindex 3820b3d03088..610441185a47 100644--- a/.github/workflows/container-images-cd.yml+++ b/.github/workflows/container-images-cd.yml@@ -37,7 +37,7 @@ jobs:outputs:image-digest: ${{ steps.image.outputs.digest }}ecr-registry: ${{ steps.docker-meta.outputs.ecr-registry }}- ecr-repository: ${{ env.ECR_REPOSITORY }}+ ecr-repository: ${{ steps.ecr-repository.outputs.name }}# Production build/deploy runs only from the canonical deploy repo (CD_DEPLOY_ENABLED).if: github.repository_owner == 'PostHog' && vars.CD_DEPLOY_ENABLED == 'true'runs-on: depot-ubuntu-24.04@@ -62,6 +62,12 @@ jobs:- name: Set up Depot CLIuses: depot/setup-action@15c09a5f77a0840ad4bce955686522a257853461 # v1.7.1+ - name: Expose ECR repository+ id: ecr-repository+ shell: bash+ run: |+ echo "name=${ECR_REPOSITORY:?ECR_REPOSITORY is unset}" >> "$GITHUB_OUTPUT"+- name: Docker meta and registry loginid: docker-metauses: ./.github/actions/docker-meta