Skip to content

Commit

Permalink
Merge pull request #56 from Project-Catcher/refactor-jdb-gitaction-wo…
Browse files Browse the repository at this point in the history
…rkflow

test: step별 해시 값 확인
  • Loading branch information
manyb2ns authored Dec 22, 2023
2 parents 89c256f + ad61722 commit 0e3b331
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:

- name: Publish Image to ECR(BATCH-SERVICE)
run: |
echo ${{ github.sha }}
if [ "${{ env.DEPLOY_ENV }}" == "PROD" ]; then
docker tag batch-service:latest ${{ env.AWS_PRD_BATCH_ECR }}:${{ github.sha }}
docker push ${{ env.AWS_PRD_BATCH_ECR }}:${{ github.sha }}
Expand Down Expand Up @@ -87,6 +89,8 @@ jobs:

- name: Update Kustomize image
run: |
echo ${{ github.sha }}
if [ "${{ env.DEPLOY_ENV }}" == "PROD" ]; then
KUSTOMIZE_PATH="batch-service-kusto/overlays/prd" && cd $KUSTOMIZE_PATH
kustomize edit set image app-batch-img="${{ env.AWS_PRD_BATCH_ECR }}:${{ github.sha }}"
Expand Down

0 comments on commit 0e3b331

Please sign in to comment.