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