Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [published]

env:
DOCKERHUB_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/openadapter-api
DOCKERHUB_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/open-adapter

jobs:
publish:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

---
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build:
context: .
dockerfile: apps/api/Dockerfile
image: openadapter-api:local
image: open-adapter:local
ports:
- "8000:8000"
environment:
Expand Down
4 changes: 2 additions & 2 deletions docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion infra/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
Loading