Skip to content

: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.

chore(ci): publish credentials-service to the shared-services ECR (#128335)

Michied03e120aa41
diff --git a/.github/workflows/cd-credentials-service-image.yml b/.github/workflows/cd-credentials-service-image.yml
index 152737ad5a75..da776835ae54 100644
--- a/.github/workflows/cd-credentials-service-image.yml
+++ b/.github/workflows/cd-credentials-service-image.yml
@@ -40,7 +40,7 @@ jobs:
image-name: posthog-credentials-service
# Publishes only from the default branch — assume the role and touch ECR only there
# (a non-default-branch workflow_dispatch builds nothing to push).
- aws-role-to-assume: ${{ vars.AWS_ECR_POSTHOG_MASTER_PUBLISH_IAM_ROLE }}
+ aws-role-to-assume: ${{ secrets.AWS_ECR_SHARED_SERVICES_POSTHOG_MASTER_PUBLISH_IAM_ROLE }}
push-to-ecr: ${{ github.ref == 'refs/heads/master' }}
github-token: ${{ secrets.GITHUB_TOKEN }}
dockerhub-username: ${{ secrets.DOCKERHUB_USER }}
@@ -162,7 +162,7 @@ jobs:
continue-on-error: true
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
- role-to-assume: ${{ vars.AWS_ECR_POSTHOG_MASTER_PUBLISH_IAM_ROLE }}
+ role-to-assume: ${{ secrets.AWS_ECR_SHARED_SERVICES_POSTHOG_MASTER_PUBLISH_IAM_ROLE }}
aws-region: us-east-1
- name: Log in to Amazon ECR for ordered image alias