chore: change ci-cd iam user
This commit is contained in:
parent
3fcbb7c5b7
commit
2e50960652
2 changed files with 4 additions and 3 deletions
4
.github/workflows/cd.yaml
vendored
4
.github/workflows/cd.yaml
vendored
|
|
@ -9,7 +9,7 @@ on:
|
|||
- '**.md'
|
||||
|
||||
env:
|
||||
AWS_ROLE_DEV_CICD: "arn:aws:iam::463722570299:role/cognee-ci-cd"
|
||||
AWS_ROLE_DEV_CICD: "arn:aws:iam::463722570299:role/cognee-dev-base-role-github-ci-cd"
|
||||
AWS_ACCOUNT_ID_DEV: "463722570299"
|
||||
|
||||
jobs:
|
||||
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
stage: dev
|
||||
aws_account_id: ${{ env.AWS_ACCOUNT_ID_DEV }}
|
||||
should_publish: true
|
||||
ecr_image_repo_name: cognee-dev-backend-cognee-api/cognee-dev
|
||||
ecr_image_repo_name: cognee-dev-backend-cognee/cognee-dev
|
||||
dockerfile_location: ./
|
||||
|
||||
- name: Export Cognee image tag
|
||||
|
|
|
|||
3
.github/workflows/cd_prd.yaml
vendored
3
.github/workflows/cd_prd.yaml
vendored
|
|
@ -9,7 +9,7 @@ on:
|
|||
- 'examples/**'
|
||||
|
||||
env:
|
||||
AWS_ROLE_DEV_CICD: "arn:aws:iam::463722570299:role/cognee-ci-cd"
|
||||
AWS_ROLE_DEV_CICD: "arn:aws:iam::463722570299:role/cognee-dev-base-role-github-ci-cd"
|
||||
AWS_ACCOUNT_ID_DEV: "463722570299"
|
||||
ENVIRONMENT: prd
|
||||
|
||||
|
|
@ -49,6 +49,7 @@ jobs:
|
|||
# aws_account_id: ${{ env.AWS_ACCOUNT_ID_DEV }}
|
||||
# should_publish: true
|
||||
# ecr_image_repo_name: promethai-prd-backend-promethai-backend
|
||||
# # ecr_image_repo_name: cognee-dev-backend-cognee/cognee-dev
|
||||
# dockerfile_location: ./
|
||||
# - name: Export Docker image tag
|
||||
# id: export-promethai-docker-tag
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue