Skip to content

Commit f8d11b4

Browse files
committed
chore: update tag to latest, not dev
1 parent 09a15fd commit f8d11b4

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,8 @@ jobs:
3232
env:
3333
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
3434
ECR_REPOSITORY: devcolor00-school
35-
IMAGE_TAG: dev
3635
run: |
37-
docker build -f docker/Dockerfile -t $ECR_REGISTRY/$ECR_REPOSITORY:dev .
3836
docker build -f docker/Dockerfile -t $ECR_REGISTRY/$ECR_REPOSITORY:latest .
39-
docker push $ECR_REGISTRY/$ECR_REPOSITORY:dev
4037
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest
4138
4239
# - name: Deploy to App Runner

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ Standard HTTP status codes are used to indicate success or failure:
135135

136136
1. **Build the Docker image:**
137137
```bash
138-
docker build -f docker/Dockerfile -t devcolor-backend:dev .
138+
docker build -f docker/Dockerfile -t devcolor-backend:latest .
139139
```
140140

141141
2. **Run the container:**
142142
```bash
143-
docker run -p 8000:8000 --env-file .env devcolor-backend:dev
143+
docker run -p 8000:8000 --env-file .env devcolor-backend:latest
144144
```
145145

146146
### Using Docker Compose
@@ -217,7 +217,7 @@ The workflow runs automatically on:
217217
- Pushes to `main` or `develop` branches
218218
- Pull requests to the `main` branch
219219

220-
The Docker image will be tagged as `devcolor-backend:dev` and `devcolor-backend:latest` and pushed to ECR.
220+
The Docker image will be tagged as `latest` and pushed to ECR.
221221

222222
**Install required packages:**
223223
```bash

0 commit comments

Comments
 (0)