Skip to content

Commit

Permalink
feat: add push deploy branch build docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
hwmin414 committed Jan 17, 2024
1 parent da494ae commit 567ecf7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/push_image_ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Push Prod Image to Amazon ECR

# when tagging action success
on:
push:
branches:
- deploy
pull_request:
types:
- closed
Expand Down Expand Up @@ -51,6 +54,7 @@ jobs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: otl-server
with:
file: docker/Dockerfile.back
push: true
tags: |
"${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:latest"
Expand Down

0 comments on commit 567ecf7

Please sign in to comment.