feat(ci): switch to self-hosted SonarQube
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Validate PR Title / validate (pull_request) Successful in 37s
				
			
		
			
				
	
				CI / ci (pull_request) Successful in 1m35s
				
			
		
			
				
	
				Release / Test (push) Failing after 1s
				
			
		
			
				
	
				Release / Create Release (push) Has been skipped
				
			
		
			
				
	
				Release / Print Release (push) Has been skipped
				
			
		
			
				
	
				Release / Publish Docker Images (push) Has been skipped
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Validate PR Title / validate (pull_request) Successful in 37s
				
			CI / ci (pull_request) Successful in 1m35s
				
			Release / Test (push) Failing after 1s
				
			Release / Create Release (push) Has been skipped
				
			Release / Print Release (push) Has been skipped
				
			Release / Publish Docker Images (push) Has been skipped
				
			This commit was merged in pull request #4.
	This commit is contained in:
		
							
								
								
									
										1
									
								
								.archive/.github/CODEOWNERS
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.archive/.github/CODEOWNERS
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
*   @luketainton
 | 
			
		||||
							
								
								
									
										30
									
								
								.archive/.github/dependabot.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								.archive/.github/dependabot.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
version: 2
 | 
			
		||||
updates:
 | 
			
		||||
  - package-ecosystem: "github-actions"
 | 
			
		||||
    directory: "/"
 | 
			
		||||
    schedule:
 | 
			
		||||
      interval: "daily"
 | 
			
		||||
    assignees:
 | 
			
		||||
      - "luketainton"
 | 
			
		||||
    # reviewers:
 | 
			
		||||
      # - "luketainton"
 | 
			
		||||
    commit-message:
 | 
			
		||||
      prefix: "chore(actions)"
 | 
			
		||||
      include: "scope"
 | 
			
		||||
    labels:
 | 
			
		||||
      - "dependencies"
 | 
			
		||||
 | 
			
		||||
  - package-ecosystem: "docker"
 | 
			
		||||
    directory: "/"
 | 
			
		||||
    schedule:
 | 
			
		||||
      interval: "daily"
 | 
			
		||||
    assignees:
 | 
			
		||||
      - "luketainton"
 | 
			
		||||
    # reviewers:
 | 
			
		||||
      # - "luketainton"
 | 
			
		||||
    commit-message:
 | 
			
		||||
      prefix: "chore(docker)"
 | 
			
		||||
      include: "scope"
 | 
			
		||||
    labels:
 | 
			
		||||
      - "dependencies"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										27
									
								
								.archive/.github/workflows/build.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.archive/.github/workflows/build.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
name: Build Docker Image
 | 
			
		||||
on:
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [master]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  build:
 | 
			
		||||
    name: GitHub Container Registry
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    permissions:
 | 
			
		||||
      packages: write
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
      - name: Set outputs
 | 
			
		||||
        id: vars
 | 
			
		||||
        run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
 | 
			
		||||
      - name: Check outputs
 | 
			
		||||
        run: echo ${{ steps.vars.outputs.sha_short }}
 | 
			
		||||
      - name: Login to GitHub Container Registry
 | 
			
		||||
        run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
 | 
			
		||||
      - name: Build image for GitHub Package Registry
 | 
			
		||||
        run: docker build . --file Dockerfile --tag ghcr.io/${{ github.repository }}:${{ steps.vars.outputs.sha_short }} --tag ghcr.io/${{ github.repository }}:latest
 | 
			
		||||
      - name: Push image to GitHub Package Registry
 | 
			
		||||
        run: |
 | 
			
		||||
          docker push ghcr.io/${{ github.repository }}:latest
 | 
			
		||||
          docker push ghcr.io/${{ github.repository }}:${{ steps.vars.outputs.sha_short }}
 | 
			
		||||
							
								
								
									
										18
									
								
								.archive/.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								.archive/.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
name: CI
 | 
			
		||||
on:
 | 
			
		||||
  pull_request:
 | 
			
		||||
    types: [opened, synchronize, reopened]
 | 
			
		||||
    paths-ignore:
 | 
			
		||||
      - "README.md"
 | 
			
		||||
      - "LICENSE.md"
 | 
			
		||||
      - ".gitignore"
 | 
			
		||||
      - ".github/CODEOWNERS"
 | 
			
		||||
      - ".github/renovate.json"
 | 
			
		||||
      - ".github/dependabot.yml"
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  ci:
 | 
			
		||||
    uses: luketainton/gha-workflows/.github/workflows/ci-docker.yml@main
 | 
			
		||||
    secrets:
 | 
			
		||||
      SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
 | 
			
		||||
      SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
 | 
			
		||||
		Reference in New Issue
	
	Block a user