|  |  | @ -16,32 +16,32 @@ jobs: | 
			
		
	
		
		
			
				
					
					|  |  |  |       packages: write # needed for ghcr access |  |  |  |       packages: write # needed for ghcr access | 
			
		
	
		
		
			
				
					
					|  |  |  |     steps: |  |  |  |     steps: | 
			
		
	
		
		
			
				
					
					|  |  |  |       - name: Checkout |  |  |  |       - name: Checkout | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: actions/checkout@v3 |  |  |  |         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       - name: Unshallow |  |  |  |       - name: Unshallow | 
			
		
	
		
		
			
				
					
					|  |  |  |         run: git fetch --prune --unshallow |  |  |  |         run: git fetch --prune --unshallow | 
			
		
	
		
		
			
				
					
					|  |  |  |       - name: Setup Go |  |  |  |       - name: Setup Go | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: actions/setup-go@v3 |  |  |  |         uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         with: |  |  |  |         with: | 
			
		
	
		
		
			
				
					
					|  |  |  |           go-version: 1.19.x |  |  |  |           go-version: 1.19.x | 
			
		
	
		
		
			
				
					
					|  |  |  |       - name: Setup QEMU |  |  |  |       - name: Setup QEMU | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: docker/setup-qemu-action@v2 |  |  |  |         uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # v2 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       - name: Setup Docker Buildx |  |  |  |       - name: Setup Docker Buildx | 
			
		
	
		
		
			
				
					
					|  |  |  |         id: buildx |  |  |  |         id: buildx | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: docker/setup-buildx-action@v2 |  |  |  |         uses: docker/setup-buildx-action@8c0edbc76e98fa90f69d9a2c020dcb50019dc325  # v2 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       - name: Setup Syft |  |  |  |       - name: Setup Syft | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: anchore/sbom-action/download-syft@v0 |  |  |  |         uses: anchore/sbom-action/download-syft@06e109483e6aa305a2b2395eabae554e51530e1d # v0.13.1 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       - name: Setup Cosign |  |  |  |       - name: Setup Cosign | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: sigstore/cosign-installer@main |  |  |  |         uses: sigstore/cosign-installer@7bca8b41164994a7dc93749d266e2f1db492f8a2 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       - name: Setup Kustomize |  |  |  |       - name: Setup Kustomize | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: fluxcd/pkg//actions/kustomize@main |  |  |  |         uses: fluxcd/pkg//actions/kustomize@main | 
			
		
	
		
		
			
				
					
					|  |  |  |       - name: Login to GitHub Container Registry |  |  |  |       - name: Login to GitHub Container Registry | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: docker/login-action@v2 |  |  |  |         uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         with: |  |  |  |         with: | 
			
		
	
		
		
			
				
					
					|  |  |  |           registry: ghcr.io |  |  |  |           registry: ghcr.io | 
			
		
	
		
		
			
				
					
					|  |  |  |           username: fluxcdbot |  |  |  |           username: fluxcdbot | 
			
		
	
		
		
			
				
					
					|  |  |  |           password: ${{ secrets.GHCR_TOKEN }} |  |  |  |           password: ${{ secrets.GHCR_TOKEN }} | 
			
		
	
		
		
			
				
					
					|  |  |  |       - name: Login to Docker Hub |  |  |  |       - name: Login to Docker Hub | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: docker/login-action@v2 |  |  |  |         uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a  # v2 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         with: |  |  |  |         with: | 
			
		
	
		
		
			
				
					
					|  |  |  |           username: fluxcdbot |  |  |  |           username: fluxcdbot | 
			
		
	
		
		
			
				
					
					|  |  |  |           password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }} |  |  |  |           password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }} | 
			
		
	
	
		
		
			
				
					|  |  | @ -53,10 +53,8 @@ jobs: | 
			
		
	
		
		
			
				
					
					|  |  |  |       - name: Build CRDs |  |  |  |       - name: Build CRDs | 
			
		
	
		
		
			
				
					
					|  |  |  |         run: | |  |  |  |         run: | | 
			
		
	
		
		
			
				
					
					|  |  |  |           kustomize build manifests/crds > all-crds.yaml |  |  |  |           kustomize build manifests/crds > all-crds.yaml | 
			
		
	
		
		
			
				
					
					|  |  |  |       # Pinned to commit before https://github.com/fluxcd/pkg/pull/189 due to |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       # introduction faulty behavior. |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       - name: Generate OpenAPI JSON schemas from CRDs |  |  |  |       - name: Generate OpenAPI JSON schemas from CRDs | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: fluxcd/pkg//actions/crdjsonschema@49e26aa2ee9e734c3233c560253fd9542afe18ae |  |  |  |         uses: fluxcd/pkg//actions/crdjsonschema@main | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         with: |  |  |  |         with: | 
			
		
	
		
		
			
				
					
					|  |  |  |           crd: all-crds.yaml |  |  |  |           crd: all-crds.yaml | 
			
		
	
		
		
			
				
					
					|  |  |  |           output: schemas |  |  |  |           output: schemas | 
			
		
	
	
		
		
			
				
					|  |  | @ -75,7 +73,7 @@ jobs: | 
			
		
	
		
		
			
				
					
					|  |  |  |         env: |  |  |  |         env: | 
			
		
	
		
		
			
				
					
					|  |  |  |           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |  |  |  |           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | 
			
		
	
		
		
			
				
					
					|  |  |  |       - name: Run GoReleaser |  |  |  |       - name: Run GoReleaser | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: goreleaser/goreleaser-action@v3 |  |  |  |         uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757 # v3 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         with: |  |  |  |         with: | 
			
		
	
		
		
			
				
					
					|  |  |  |           version: latest |  |  |  |           version: latest | 
			
		
	
		
		
			
				
					
					|  |  |  |           args: release --release-notes=output/notes.md --skip-validate |  |  |  |           args: release --release-notes=output/notes.md --skip-validate | 
			
		
	
	
		
		
			
				
					|  |  | @ -90,7 +88,7 @@ jobs: | 
			
		
	
		
		
			
				
					
					|  |  |  |       id-token: write |  |  |  |       id-token: write | 
			
		
	
		
		
			
				
					
					|  |  |  |       packages: write |  |  |  |       packages: write | 
			
		
	
		
		
			
				
					
					|  |  |  |     steps: |  |  |  |     steps: | 
			
		
	
		
		
			
				
					
					|  |  |  |       - uses: actions/checkout@v3 |  |  |  |       - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       - name: Setup Kustomize |  |  |  |       - name: Setup Kustomize | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: fluxcd/pkg/actions/kustomize@main |  |  |  |         uses: fluxcd/pkg/actions/kustomize@main | 
			
		
	
		
		
			
				
					
					|  |  |  |       - name: Setup Flux CLI |  |  |  |       - name: Setup Flux CLI | 
			
		
	
	
		
		
			
				
					|  |  | @ -101,13 +99,13 @@ jobs: | 
			
		
	
		
		
			
				
					
					|  |  |  |           VERSION=$(flux version --client | awk '{ print $NF }') |  |  |  |           VERSION=$(flux version --client | awk '{ print $NF }') | 
			
		
	
		
		
			
				
					
					|  |  |  |           echo ::set-output name=VERSION::${VERSION} |  |  |  |           echo ::set-output name=VERSION::${VERSION} | 
			
		
	
		
		
			
				
					
					|  |  |  |       - name: Login to GHCR |  |  |  |       - name: Login to GHCR | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: docker/login-action@v2 |  |  |  |         uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         with: |  |  |  |         with: | 
			
		
	
		
		
			
				
					
					|  |  |  |           registry: ghcr.io |  |  |  |           registry: ghcr.io | 
			
		
	
		
		
			
				
					
					|  |  |  |           username: fluxcdbot |  |  |  |           username: fluxcdbot | 
			
		
	
		
		
			
				
					
					|  |  |  |           password: ${{ secrets.GHCR_TOKEN }} |  |  |  |           password: ${{ secrets.GHCR_TOKEN }} | 
			
		
	
		
		
			
				
					
					|  |  |  |       - name: Login to DockerHub |  |  |  |       - name: Login to DockerHub | 
			
		
	
		
		
			
				
					
					|  |  |  |         uses: docker/login-action@v2 |  |  |  |         uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         with: |  |  |  |         with: | 
			
		
	
		
		
			
				
					
					|  |  |  |           username: fluxcdbot |  |  |  |           username: fluxcdbot | 
			
		
	
		
		
			
				
					
					|  |  |  |           password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }} |  |  |  |           password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }} | 
			
		
	
	
		
		
			
				
					|  |  | @ -135,7 +133,7 @@ jobs: | 
			
		
	
		
		
			
				
					
					|  |  |  |           --path="./flux-system" \ |  |  |  |           --path="./flux-system" \ | 
			
		
	
		
		
			
				
					
					|  |  |  |           --source=${{ github.repositoryUrl }} \ |  |  |  |           --source=${{ github.repositoryUrl }} \ | 
			
		
	
		
		
			
				
					
					|  |  |  |           --revision="${{ github.ref_name }}/${{ github.sha }}" |  |  |  |           --revision="${{ github.ref_name }}/${{ github.sha }}" | 
			
		
	
		
		
			
				
					
					|  |  |  |       - uses: sigstore/cosign-installer@main |  |  |  |       - uses: sigstore/cosign-installer@7cc35d7fdbe70d4278a0c96779081e6fac665f88 # v2.8.0 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       - name: Sign manifests |  |  |  |       - name: Sign manifests | 
			
		
	
		
		
			
				
					
					|  |  |  |         env: |  |  |  |         env: | 
			
		
	
		
		
			
				
					
					|  |  |  |           COSIGN_EXPERIMENTAL: 1 |  |  |  |           COSIGN_EXPERIMENTAL: 1 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |