From 345e8136ba95e0ab5450efc5729db3978fe00b3f Mon Sep 17 00:00:00 2001 From: Roberto Sanchez Date: Thu, 9 Apr 2026 12:55:08 -0600 Subject: [PATCH] Update Docker image references to use 'open-adapter' instead of 'openadapter-api' - Changed image name in docker-compose.yml, README.md, CI/CD workflows, and Terraform deployment documentation. - Updated variable description in Terraform to reflect the new image naming convention. --- .github/workflows/cd.yml | 3 ++- .github/workflows/ci.yml | 2 +- README.md | 2 +- docker-compose.yml | 2 +- docs/deployment.md | 4 ++-- infra/terraform/variables.tf | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2e825d6..7136beb 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -7,7 +7,7 @@ on: types: [published] env: - DOCKERHUB_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/openadapter-api + DOCKERHUB_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/open-adapter jobs: publish: @@ -64,6 +64,7 @@ jobs: with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-session-token: ${{ secrets.AWS_SESSION_TOKEN }} aws-region: ${{ secrets.AWS_REGION }} - name: Set up Terraform diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9842c8..aecf81e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,6 +74,6 @@ jobs: context: . file: apps/api/Dockerfile push: false - tags: openadapter-api:ci-${{ github.sha }} + tags: open-adapter:ci-${{ github.sha }} cache-from: type=gha cache-to: type=gha,mode=max diff --git a/README.md b/README.md index f2d801a..872fcc9 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ docker-compose up --build docker run -p 8000:8000 \ -e STRIPE_API_KEY=sk_test_... \ -e SENDGRID_API_KEY=SG.... \ - youruser/openadapter-api:latest + youruser/open-adapter:latest ``` --- diff --git a/docker-compose.yml b/docker-compose.yml index c541613..7a7a84b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: build: context: . dockerfile: apps/api/Dockerfile - image: openadapter-api:local + image: open-adapter:local ports: - "8000:8000" environment: diff --git a/docs/deployment.md b/docs/deployment.md index 5dce1e3..4fd356c 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -120,8 +120,8 @@ open http://localhost:8000/docs ```bash cd infra/terraform terraform init -terraform plan -var="dockerhub_image=youruser/openadapter-api:latest" -terraform apply -auto-approve -var="dockerhub_image=youruser/openadapter-api:latest" +terraform plan -var="dockerhub_image=youruser/open-adapter:latest" +terraform apply -auto-approve -var="dockerhub_image=youruser/open-adapter:latest" ``` To destroy: diff --git a/infra/terraform/variables.tf b/infra/terraform/variables.tf index c655cfe..f193f80 100644 --- a/infra/terraform/variables.tf +++ b/infra/terraform/variables.tf @@ -17,7 +17,7 @@ variable "app_env" { } variable "dockerhub_image" { - description = "Full Docker Hub image reference including tag (e.g. user/openadapter-api:abc123)" + description = "Full Docker Hub image reference including tag (e.g. user/open-adapter:abc123)" type = string }