mirror of
				https://github.com/tess1o/go-ecoflow-exporter.git
				synced 2025-11-03 21:43:20 +00:00 
			
		
		
		
	Updated readme and github actions
This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/workflows/docker-image.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/docker-image.yml
									
									
									
									
										vendored
									
									
								
							@@ -22,6 +22,11 @@ jobs:
 | 
				
			|||||||
        with:
 | 
					        with:
 | 
				
			||||||
          username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
					          username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
				
			||||||
          password: ${{ secrets.DOCKERHUB_TOKEN }}
 | 
					          password: ${{ secrets.DOCKERHUB_TOKEN }}
 | 
				
			||||||
 | 
					      -
 | 
				
			||||||
 | 
					        name: Extract GitHub tag
 | 
				
			||||||
 | 
					        id: extract_tag
 | 
				
			||||||
 | 
					        run: echo "GIT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
 | 
				
			||||||
 | 
					        if: startsWith(github.ref, 'refs/tags/')
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Build and push
 | 
					        name: Build and push
 | 
				
			||||||
        uses: docker/build-push-action@v5
 | 
					        uses: docker/build-push-action@v5
 | 
				
			||||||
@@ -30,4 +35,4 @@ jobs:
 | 
				
			|||||||
          platforms: linux/amd64,linux/arm64
 | 
					          platforms: linux/amd64,linux/arm64
 | 
				
			||||||
          tags: |
 | 
					          tags: |
 | 
				
			||||||
            tess1o/go-ecoflow-exporter:latest
 | 
					            tess1o/go-ecoflow-exporter:latest
 | 
				
			||||||
            tess1o/go-ecoflow-exporter:${{ github.ref_name }}
 | 
					            tess1o/go-ecoflow-exporter:${{ steps.extract_tag.outputs.GIT_TAG || github.sha }}
 | 
				
			||||||
@@ -7,6 +7,7 @@ are:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
1. Prometheus
 | 
					1. Prometheus
 | 
				
			||||||
2. TimescaleDB
 | 
					2. TimescaleDB
 | 
				
			||||||
 | 
					3. Redis (planned, not implemented yet)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Depending on your configuration you can export the metrics to one of those systems or to all at once.
 | 
					Depending on your configuration you can export the metrics to one of those systems or to all at once.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user