Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
ci: log in to public.ecr.aws in the image and migration workflows
Sidwebworks970dc5b7713d
diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.ymlindex 100c2a2627..72a7d985b4 100644--- a/.github/workflows/build-images.yml+++ b/.github/workflows/build-images.yml@@ -63,6 +63,18 @@ jobs:username: ${{ secrets.IMAGE_REGISTRY_USERNAME || (steps.host.outputs.host == 'ghcr.io' && github.actor) || '' }}password: ${{ secrets.IMAGE_REGISTRY_PASSWORD || (steps.host.outputs.host == 'ghcr.io' && secrets.GITHUB_TOKEN) || '' }}+ # Anonymous public.ecr.aws pulls share one data quota per runner IP and fail+ # with "toomanyrequests: Data limit exceeded"; authenticated pulls count against+ # the AWS account. Needs ecr-public:GetAuthorizationToken and+ # sts:GetServiceBearerToken; without them the pulls stay anonymous.+ - if: vars.IMAGE_AWS_REGION != ''+ uses: docker/login-action@v4+ continue-on-error: true+ with:+ registry: public.ecr.aws+ env:+ AWS_REGION: us-east-1+- id: buildxuses: docker/setup-buildx-action@v4with:diff --git a/.github/workflows/supabase.yml b/.github/workflows/supabase.ymlindex d5dbb7a59d..5ed8a547ff 100644--- a/.github/workflows/supabase.yml+++ b/.github/workflows/supabase.yml@@ -5,6 +5,10 @@ on:paths: ["packages/database/supabase/**"]workflow_dispatch:+permissions:+ contents: read+ id-token: write # AWS role for the public.ecr.aws login below+jobs:supabase:name: Supabase Sync@@ -37,6 +41,29 @@ jobs:- name: Install dependenciesrun: pnpm install --frozen-lockfile+ # `supabase functions deploy` bundles inside the CLI's edge-runtime image,+ # pulled from public.ecr.aws. Never blocks a migration deploy.+ - if: vars.IMAGE_AWS_REGION != ''+ uses: aws-actions/configure-aws-credentials@v6+ continue-on-error: true+ with:+ aws-region: us-east-1+ role-to-assume: ${{ vars.IMAGE_AWS_ROLE_ARN }}+ aws-access-key-id: ${{ secrets.IMAGE_AWS_ACCESS_KEY_ID }}+ aws-secret-access-key: ${{ secrets.IMAGE_AWS_SECRET_ACCESS_KEY }}++ # Anonymous public.ecr.aws pulls share one data quota per runner IP and fail+ # with "toomanyrequests: Data limit exceeded"; authenticated pulls count against+ # the AWS account. Needs ecr-public:GetAuthorizationToken and+ # sts:GetServiceBearerToken; without them the pulls stay anonymous.+ - if: vars.IMAGE_AWS_REGION != ''+ uses: docker/login-action@v4+ continue-on-error: true+ with:+ registry: public.ecr.aws+ env:+ AWS_REGION: us-east-1+- name: Run migrationsrun: pnpm --filter ci ci:migrations