mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Implement versioning for esphome/esphome-lint docker images (#1877)
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -15,7 +15,7 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     # cpp lint job runs with esphome-lint docker image so that clang-format-* | ||||
|     # doesn't have to be installed | ||||
|     container: esphome/esphome-lint:latest | ||||
|     container: esphome/esphome-lint:1.0 | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
|       # Set up the pio project so that the cpp checks know how files are compiled | ||||
| @@ -32,7 +32,7 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     # cpp lint job runs with esphome-lint docker image so that clang-format-* | ||||
|     # doesn't have to be installed | ||||
|     container: esphome/esphome-lint:latest | ||||
|     container: esphome/esphome-lint:1.0 | ||||
|     # Split clang-tidy check into 4 jobs. Each one will check 1/4th of the .cpp files | ||||
|     strategy: | ||||
|       fail-fast: false | ||||
|   | ||||
							
								
								
									
										5
									
								
								.github/workflows/docker-lint-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/docker-lint-build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -17,6 +17,9 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
|       - name: Set TAG | ||||
|         run: | | ||||
|           echo "TAG=1.0" >> $GITHUB_ENV | ||||
|       - name: Pull for cache | ||||
|         run: | | ||||
|           docker pull "esphome/esphome-lint:latest" || true | ||||
| @@ -26,6 +29,7 @@ jobs: | ||||
|             --cache-from "esphome/esphome-lint:latest" \ | ||||
|             --file "docker/Dockerfile.lint" \ | ||||
|             --tag "esphome/esphome-lint:latest" \ | ||||
|             --tag "esphome/esphome-lint:${TAG}" \ | ||||
|             . | ||||
|       - name: Log in to docker hub | ||||
|         env: | ||||
| @@ -33,4 +37,5 @@ jobs: | ||||
|           DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | ||||
|         run: docker login -u "${DOCKER_USER}" -p "${DOCKER_PASSWORD}" | ||||
|       - run: | | ||||
|           docker push "esphome/esphome-lint:${TAG}" | ||||
|           docker push "esphome/esphome-lint:latest" | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/release-dev.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/release-dev.yml
									
									
									
									
										vendored
									
									
								
							| @@ -12,7 +12,7 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     # cpp lint job runs with esphome-lint docker image so that clang-format-* | ||||
|     # doesn't have to be installed | ||||
|     container: esphome/esphome-lint:latest | ||||
|     container: esphome/esphome-lint:1.0 | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
|       # Set up the pio project so that the cpp checks know how files are compiled | ||||
| @@ -29,7 +29,7 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     # cpp lint job runs with esphome-lint docker image so that clang-format-* | ||||
|     # doesn't have to be installed | ||||
|     container: esphome/esphome-lint:latest | ||||
|     container: esphome/esphome-lint:1.0 | ||||
|     # Split clang-tidy check into 4 jobs. Each one will check 1/4th of the .cpp files | ||||
|     strategy: | ||||
|       fail-fast: false | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -11,7 +11,7 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     # cpp lint job runs with esphome-lint docker image so that clang-format-* | ||||
|     # doesn't have to be installed | ||||
|     container: esphome/esphome-lint:latest | ||||
|     container: esphome/esphome-lint:1.0 | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
|       # Set up the pio project so that the cpp checks know how files are compiled | ||||
| @@ -28,7 +28,7 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     # cpp lint job runs with esphome-lint docker image so that clang-format-* | ||||
|     # doesn't have to be installed | ||||
|     container: esphome/esphome-lint:latest | ||||
|     container: esphome/esphome-lint:1.0 | ||||
|     # Split clang-tidy check into 4 jobs. Each one will check 1/4th of the .cpp files | ||||
|     strategy: | ||||
|       fail-fast: false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user