This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/workflows/build.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/build.yaml
									
									
									
									
										vendored
									
									
								
							@ -25,13 +25,6 @@ jobs:
 | 
			
		||||
      with:
 | 
			
		||||
        path: ./version
 | 
			
		||||
 | 
			
		||||
    # .env.production 생성
 | 
			
		||||
    # URL_PROD
 | 
			
		||||
    - name: Create env_production
 | 
			
		||||
      # run: ${{ URL_KUBE_SVC }} > .env.production
 | 
			
		||||
      run: ${{ URL_PROD }} > .env.production
 | 
			
		||||
      
 | 
			
		||||
 | 
			
		||||
    - name: Install Docker // Docker 설치
 | 
			
		||||
      run: |
 | 
			
		||||
        curl -fsSL https://get.docker.com -o get-docker.sh
 | 
			
		||||
@ -39,7 +32,8 @@ jobs:
 | 
			
		||||
      if: runner.os == 'Linux'
 | 
			
		||||
 | 
			
		||||
    - name: Set up Docker Buildx
 | 
			
		||||
      uses: https://github.com/docker/setup-buildx-action@v1
 | 
			
		||||
      # uses: https://github.com/docker/setup-buildx-action@v1
 | 
			
		||||
      uses: docker/setup-buildx-action@v1
 | 
			
		||||
 | 
			
		||||
    - name: Login to Registry
 | 
			
		||||
      run: docker login -u ${{ secrets.DOCKER_ID }} -p ${{ secrets.DOCKER_PW }} https://harbor.icurfer.com
 | 
			
		||||
@ -59,7 +53,7 @@ jobs:
 | 
			
		||||
    - name: Checkout kustomize repository
 | 
			
		||||
      uses: actions/checkout@v3
 | 
			
		||||
      with:
 | 
			
		||||
        repository: "icurfer/cd-msa-fe"
 | 
			
		||||
        repository: "dev/cd-msa-fe"
 | 
			
		||||
        ref: main
 | 
			
		||||
        token: ${{ secrets.ACTION_TOKEN }}
 | 
			
		||||
        path: cd-msa-fe
 | 
			
		||||
@ -67,7 +61,7 @@ jobs:
 | 
			
		||||
    - name: Update Kubernetes resources
 | 
			
		||||
      run: |
 | 
			
		||||
        cd cd-msa-fe/overlays/dev/
 | 
			
		||||
        kustomize edit set image \harbor.icurfer.com/msa-demo/msa-fe:\${{ steps.img-ver.outputs.content }}
 | 
			
		||||
        kustomize edit set image harbor.icurfer.com/msa-demo/msa-fe:${{ steps.img-ver.outputs.content }}
 | 
			
		||||
        cat kustomization.yaml
 | 
			
		||||
    
 | 
			
		||||
    ## cd commit
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user