Update workflows
This commit is contained in:
		
							parent
							
								
									47c422bb02
								
							
						
					
					
						commit
						3bea28156a
					
				| 
						 | 
					@ -6,6 +6,14 @@ on:
 | 
				
			||||||
      component:
 | 
					      component:
 | 
				
			||||||
        required: true
 | 
					        required: true
 | 
				
			||||||
        type: string
 | 
					        type: string
 | 
				
			||||||
 | 
					      dockerfile:
 | 
				
			||||||
 | 
					        required: false
 | 
				
			||||||
 | 
					        type: string
 | 
				
			||||||
 | 
					        default: 'Dockerfile'
 | 
				
			||||||
 | 
					      tag_postfix:
 | 
				
			||||||
 | 
					        required: false
 | 
				
			||||||
 | 
					        type: string
 | 
				
			||||||
 | 
					        default: ''
 | 
				
			||||||
    secrets:
 | 
					    secrets:
 | 
				
			||||||
      docker_username:
 | 
					      docker_username:
 | 
				
			||||||
        required: true
 | 
					        required: true
 | 
				
			||||||
| 
						 | 
					@ -44,9 +52,10 @@ jobs:
 | 
				
			||||||
        uses: docker/build-push-action@v2
 | 
					        uses: docker/build-push-action@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          context: ./${{ inputs.component }}
 | 
					          context: ./${{ inputs.component }}
 | 
				
			||||||
 | 
					          file: ./${{ inputs.component }}/${{ inputs.dockerfile }}
 | 
				
			||||||
          platforms: linux/amd64,linux/arm64
 | 
					          platforms: linux/amd64,linux/arm64
 | 
				
			||||||
          push: true
 | 
					          push: true
 | 
				
			||||||
          tags: ${{ steps.meta.outputs.tags }}
 | 
					          tags: ${{ steps.meta.outputs.tags }}${{ inputs.tag_postfix }}
 | 
				
			||||||
          labels: ${{ steps.meta.outputs.labels }}
 | 
					          labels: ${{ steps.meta.outputs.labels }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Update repo description
 | 
					      - name: Update repo description
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,6 +23,17 @@ jobs:
 | 
				
			||||||
      docker_token: ${{ secrets.DOCKER_TOKEN }}
 | 
					      docker_token: ${{ secrets.DOCKER_TOKEN }}
 | 
				
			||||||
      docker_password: ${{ secrets.DOCKER_PASSWORD }}
 | 
					      docker_password: ${{ secrets.DOCKER_PASSWORD }}
 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
 | 
					  collector-metric:
 | 
				
			||||||
 | 
					    uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
 | 
				
			||||||
 | 
					    with:
 | 
				
			||||||
 | 
					      component: pinpoint-collector
 | 
				
			||||||
 | 
					      dockerfile: Dockerfile-metric
 | 
				
			||||||
 | 
					      tag_postfix: -metric
 | 
				
			||||||
 | 
					    secrets:
 | 
				
			||||||
 | 
					      docker_username: ${{ secrets.DOCKER_USERNAME }}
 | 
				
			||||||
 | 
					      docker_token: ${{ secrets.DOCKER_TOKEN }}
 | 
				
			||||||
 | 
					      docker_password: ${{ secrets.DOCKER_PASSWORD }}
 | 
				
			||||||
 | 
					          
 | 
				
			||||||
  flink:
 | 
					  flink:
 | 
				
			||||||
    uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
 | 
					    uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
 | 
				
			||||||
    with:
 | 
					    with:
 | 
				
			||||||
| 
						 | 
					@ -68,6 +79,17 @@ jobs:
 | 
				
			||||||
      docker_token: ${{ secrets.DOCKER_TOKEN }}
 | 
					      docker_token: ${{ secrets.DOCKER_TOKEN }}
 | 
				
			||||||
      docker_password: ${{ secrets.DOCKER_PASSWORD }}
 | 
					      docker_password: ${{ secrets.DOCKER_PASSWORD }}
 | 
				
			||||||
                    
 | 
					                    
 | 
				
			||||||
 | 
					  web-metric:
 | 
				
			||||||
 | 
					    uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
 | 
				
			||||||
 | 
					    with:
 | 
				
			||||||
 | 
					      component: pinpoint-web
 | 
				
			||||||
 | 
					      dockerfile: Dockerfile-metric
 | 
				
			||||||
 | 
					      tag_postfix: -metric
 | 
				
			||||||
 | 
					    secrets:
 | 
				
			||||||
 | 
					      docker_username: ${{ secrets.DOCKER_USERNAME }}
 | 
				
			||||||
 | 
					      docker_token: ${{ secrets.DOCKER_TOKEN }}
 | 
				
			||||||
 | 
					      docker_password: ${{ secrets.DOCKER_PASSWORD }}
 | 
				
			||||||
 | 
					          
 | 
				
			||||||
  batch:
 | 
					  batch:
 | 
				
			||||||
    uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
 | 
					    uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
 | 
				
			||||||
    with:
 | 
					    with:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue