From de9812f648803b13d53246937298d8f80160da5f Mon Sep 17 00:00:00 2001 From: Donghyeon Im Date: Thu, 25 Apr 2024 15:46:00 +0900 Subject: [PATCH] refactor(auth): test cicd --- .github/workflows/aws.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/aws.yaml b/.github/workflows/aws.yaml index 0b029d4..dbb0053 100644 --- a/.github/workflows/aws.yaml +++ b/.github/workflows/aws.yaml @@ -28,7 +28,10 @@ jobs: - name: Determine ECR Repository id: ecr_repo run: | - REPO_NAME=$(echo ${{ github.repository }} | awk -F '/' '{print $2}' | tr '[:upper:]' '[:lower:]') + REPO_NAME=$(echo ${{ github.repository }} | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]') + + echo -n "[DevOps] github.repository >>>>> ${{ github.repository }}"" + echo -n "[DevOps] REPO_NAME >>>>> ${REPO_NAME}" if [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == "refs/heads/main" ]]; then echo "{repo}={${REPO_NAME}_prod}" >> $GITHUB_OUTPUT