build test image in ci
This commit is contained in:
		
							
								
								
									
										19
									
								
								.github/workflows/test-and-lint.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/test-and-lint.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | ||||
| name: Lint and Test Charts | ||||
| name: Lint and Test | ||||
|  | ||||
| on: pull_request | ||||
|  | ||||
| @@ -43,3 +43,20 @@ jobs: | ||||
|       - name: Run chart-testing (install) | ||||
|         if: steps.list-changed.outputs.changed == 'true' | ||||
|         run: ct install --target-branch ${{ github.event.repository.default_branch }} | ||||
|   pr-build: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Set up QEMU | ||||
|         uses: docker/setup-qemu-action@v2 | ||||
|        | ||||
|       - name: Set up Docker Buildx | ||||
|         uses: docker/setup-buildx-action@v2 | ||||
|  | ||||
|       - name: "GHCR Build" | ||||
|         id: docker_build | ||||
|         uses: docker/build-push-action@v4 | ||||
|         with: | ||||
|           push: false | ||||
|           platforms: linux/amd64,linux/arm64 | ||||
|           tags: ghcr.io/lerentis/bitwarden-crd-operator:dev | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user