mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	use correct version
This commit is contained in:
		
							
								
								
									
										16
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							| @@ -18,6 +18,18 @@ jobs: | |||||||
|   buildx: |   buildx: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|  |       - | ||||||
|  |         name: Prepare | ||||||
|  |         id: prepare | ||||||
|  |         run: | | ||||||
|  |           VERSION=edge | ||||||
|  |           if [[ $GITHUB_REF == refs/tags/ng-* ]]; then | ||||||
|  |             VERSION=${GITHUB_REF#refs/tags/ng-} | ||||||
|  |           fi | ||||||
|  |           if [[ $GITHUB_REF == refs/heads/* ]]; then | ||||||
|  |             VERSION=${GITHUB_REF#refs/heads/} | ||||||
|  |           fi | ||||||
|  |           echo ::set-output name=version::${VERSION} | ||||||
|       - |       - | ||||||
|         name: Checkout |         name: Checkout | ||||||
|         uses: actions/checkout@v2 |         uses: actions/checkout@v2 | ||||||
| @@ -49,10 +61,10 @@ jobs: | |||||||
|           file: ./Dockerfile |           file: ./Dockerfile | ||||||
|           platforms: linux/amd64,linux/arm/v7 |           platforms: linux/amd64,linux/arm/v7 | ||||||
|           push: true |           push: true | ||||||
|           tags: jonaswinkler/paperless-ng:edge |           tags: jonaswinkler/paperless-ng:${{ steps.prepare.outputs.version }} | ||||||
|           cache-from: type=local,src=/tmp/.buildx-cache |           cache-from: type=local,src=/tmp/.buildx-cache | ||||||
|           cache-to: type=local,dest=/tmp/.buildx-cache |           cache-to: type=local,dest=/tmp/.buildx-cache | ||||||
|       - |       - | ||||||
|         name: Inspect image |         name: Inspect image | ||||||
|         run: | |         run: | | ||||||
|           docker buildx imagetools inspect jonaswinkler/paperless-ng:edge |           docker buildx imagetools inspect jonaswinkler/paperless-ng:${{ steps.prepare.outputs.version }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler