root: add version and commit to container labels (#6054)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/ci-main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci-main.yml
									
									
									
									
										vendored
									
									
								
							@ -218,6 +218,7 @@ jobs:
 | 
			
		||||
            ghcr.io/goauthentik/dev-server:gh-${{ steps.ev.outputs.branchNameContainer }}-${{ steps.ev.outputs.timestamp }}-${{ steps.ev.outputs.shortHash }}
 | 
			
		||||
          build-args: |
 | 
			
		||||
            GIT_BUILD_HASH=${{ steps.ev.outputs.sha }}
 | 
			
		||||
            VERSION=${{ steps.ev.outputs.version }}
 | 
			
		||||
            VERSION_FAMILY=${{ steps.ev.outputs.versionFamily }}
 | 
			
		||||
      - name: Comment on PR
 | 
			
		||||
        if: github.event_name == 'pull_request'
 | 
			
		||||
@ -262,5 +263,6 @@ jobs:
 | 
			
		||||
            ghcr.io/goauthentik/dev-server:gh-${{ steps.ev.outputs.branchNameContainer }}-${{ steps.ev.outputs.timestamp }}-${{ steps.ev.outputs.shortHash }}-arm64
 | 
			
		||||
          build-args: |
 | 
			
		||||
            GIT_BUILD_HASH=${{ steps.ev.outputs.sha }}
 | 
			
		||||
            VERSION=${{ steps.ev.outputs.version }}
 | 
			
		||||
            VERSION_FAMILY=${{ steps.ev.outputs.versionFamily }}
 | 
			
		||||
          platforms: linux/arm64
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								.github/workflows/ci-outpost.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/ci-outpost.yml
									
									
									
									
										vendored
									
									
								
							@ -95,6 +95,7 @@ jobs:
 | 
			
		||||
          file: ${{ matrix.type }}.Dockerfile
 | 
			
		||||
          build-args: |
 | 
			
		||||
            GIT_BUILD_HASH=${{ steps.ev.outputs.sha }}
 | 
			
		||||
            VERSION=${{ steps.ev.outputs.version }}
 | 
			
		||||
            VERSION_FAMILY=${{ steps.ev.outputs.versionFamily }}
 | 
			
		||||
          platforms: linux/amd64,linux/arm64
 | 
			
		||||
          context: .
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/release-publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release-publish.yml
									
									
									
									
										vendored
									
									
								
							@ -43,6 +43,7 @@ jobs:
 | 
			
		||||
            ghcr.io/goauthentik/server:latest
 | 
			
		||||
          platforms: linux/amd64,linux/arm64
 | 
			
		||||
          build-args: |
 | 
			
		||||
            VERSION=${{ steps.ev.outputs.version }}
 | 
			
		||||
            VERSION_FAMILY=${{ steps.ev.outputs.versionFamily }}
 | 
			
		||||
  build-outpost:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
@ -90,6 +91,7 @@ jobs:
 | 
			
		||||
          file: ${{ matrix.type }}.Dockerfile
 | 
			
		||||
          platforms: linux/amd64,linux/arm64
 | 
			
		||||
          build-args: |
 | 
			
		||||
            VERSION=${{ steps.ev.outputs.version }}
 | 
			
		||||
            VERSION_FAMILY=${{ steps.ev.outputs.versionFamily }}
 | 
			
		||||
  build-outpost-binary:
 | 
			
		||||
    timeout-minutes: 120
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user