|  | @ -63,13 +63,13 @@ jobs: | 
			
		
	
		
		
			
				
					|  |  |           fetch-depth: 0 |  |  |           fetch-depth: 0 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       - name: Initialize QEMU binfmt support |  |  |       - name: Initialize QEMU binfmt support | 
			
		
	
		
		
			
				
					
					|  |  |         uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0 |  |  |         uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         with: |  |  |         with: | 
			
		
	
		
		
			
				
					|  |  |           platforms: "arm64,arm" |  |  |           platforms: "arm64,arm" | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       # Start Docker Buildx |  |  |       # Start Docker Buildx | 
			
		
	
		
		
			
				
					|  |  |       - name: Setup Docker Buildx |  |  |       - name: Setup Docker Buildx | 
			
		
	
		
		
			
				
					
					|  |  |         uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0 |  |  |         uses: docker/setup-buildx-action@aa33708b10e362ff993539393ff100fa93ed6a27 # v3.5.0 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         # https://github.com/moby/buildkit/issues/3969 |  |  |         # https://github.com/moby/buildkit/issues/3969 | 
			
		
	
		
		
			
				
					|  |  |         # Also set max parallelism to 3, the default of 4 breaks GitHub Actions and causes OOMKills |  |  |         # Also set max parallelism to 3, the default of 4 breaks GitHub Actions and causes OOMKills | 
			
		
	
		
		
			
				
					|  |  |         with: |  |  |         with: | 
			
		
	
	
		
		
			
				
					|  | @ -102,7 +102,7 @@ jobs: | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       # Login to Docker Hub |  |  |       # Login to Docker Hub | 
			
		
	
		
		
			
				
					|  |  |       - name: Login to Docker Hub |  |  |       - name: Login to Docker Hub | 
			
		
	
		
		
			
				
					
					|  |  |         uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0 |  |  |         uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         with: |  |  |         with: | 
			
		
	
		
		
			
				
					|  |  |           username: ${{ secrets.DOCKERHUB_USERNAME }} |  |  |           username: ${{ secrets.DOCKERHUB_USERNAME }} | 
			
		
	
		
		
			
				
					|  |  |           password: ${{ secrets.DOCKERHUB_TOKEN }} |  |  |           password: ${{ secrets.DOCKERHUB_TOKEN }} | 
			
		
	
	
		
		
			
				
					|  | @ -116,7 +116,7 @@ jobs: | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       # Login to GitHub Container Registry |  |  |       # Login to GitHub Container Registry | 
			
		
	
		
		
			
				
					|  |  |       - name: Login to GitHub Container Registry |  |  |       - name: Login to GitHub Container Registry | 
			
		
	
		
		
			
				
					
					|  |  |         uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0 |  |  |         uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         with: |  |  |         with: | 
			
		
	
		
		
			
				
					|  |  |           registry: ghcr.io |  |  |           registry: ghcr.io | 
			
		
	
		
		
			
				
					|  |  |           username: ${{ github.repository_owner }} |  |  |           username: ${{ github.repository_owner }} | 
			
		
	
	
		
		
			
				
					|  | @ -131,7 +131,7 @@ jobs: | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       # Login to Quay.io |  |  |       # Login to Quay.io | 
			
		
	
		
		
			
				
					|  |  |       - name: Login to Quay.io |  |  |       - name: Login to Quay.io | 
			
		
	
		
		
			
				
					
					|  |  |         uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0 |  |  |         uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         with: |  |  |         with: | 
			
		
	
		
		
			
				
					|  |  |           registry: quay.io |  |  |           registry: quay.io | 
			
		
	
		
		
			
				
					|  |  |           username: ${{ secrets.QUAY_USERNAME }} |  |  |           username: ${{ secrets.QUAY_USERNAME }} | 
			
		
	
	
		
		
			
				
					|  | @ -165,7 +165,7 @@ jobs: | 
			
		
	
		
		
			
				
					|  |  |           echo "CONTAINER_REGISTRIES=${CONTAINER_REGISTRIES:+${CONTAINER_REGISTRIES},}localhost:5000/vaultwarden/server" | tee -a "${GITHUB_ENV}" |  |  |           echo "CONTAINER_REGISTRIES=${CONTAINER_REGISTRIES:+${CONTAINER_REGISTRIES},}localhost:5000/vaultwarden/server" | tee -a "${GITHUB_ENV}" | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       - name: Bake ${{ matrix.base_image }} containers |  |  |       - name: Bake ${{ matrix.base_image }} containers | 
			
		
	
		
		
			
				
					
					|  |  |         uses: docker/bake-action@1c5f18a523c4c68524cfbc5161494d8bb5b29d20 # v5.0.1 |  |  |         uses: docker/bake-action@a4d7f0b5b91c14a296d792d4ec53a9db17f02e67 # v5.5.0 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         env: |  |  |         env: | 
			
		
	
		
		
			
				
					|  |  |           BASE_TAGS: "${{ env.BASE_TAGS }}" |  |  |           BASE_TAGS: "${{ env.BASE_TAGS }}" | 
			
		
	
		
		
			
				
					|  |  |           SOURCE_COMMIT: "${{ env.SOURCE_COMMIT }}" |  |  |           SOURCE_COMMIT: "${{ env.SOURCE_COMMIT }}" | 
			
		
	
	
		
		
			
				
					|  | @ -223,28 +223,28 @@ jobs: | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       # Upload artifacts to Github Actions |  |  |       # Upload artifacts to Github Actions | 
			
		
	
		
		
			
				
					|  |  |       - name: "Upload amd64 artifact" |  |  |       - name: "Upload amd64 artifact" | 
			
		
	
		
		
			
				
					
					|  |  |         uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 |  |  |         uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         if: ${{ matrix.base_image == 'alpine' }} |  |  |         if: ${{ matrix.base_image == 'alpine' }} | 
			
		
	
		
		
			
				
					|  |  |         with: |  |  |         with: | 
			
		
	
		
		
			
				
					|  |  |           name: vaultwarden-${{ env.SOURCE_VERSION }}-linux-amd64 |  |  |           name: vaultwarden-${{ env.SOURCE_VERSION }}-linux-amd64 | 
			
		
	
		
		
			
				
					|  |  |           path: vaultwarden-amd64 |  |  |           path: vaultwarden-amd64 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       - name: "Upload arm64 artifact" |  |  |       - name: "Upload arm64 artifact" | 
			
		
	
		
		
			
				
					
					|  |  |         uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 |  |  |         uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         if: ${{ matrix.base_image == 'alpine' }} |  |  |         if: ${{ matrix.base_image == 'alpine' }} | 
			
		
	
		
		
			
				
					|  |  |         with: |  |  |         with: | 
			
		
	
		
		
			
				
					|  |  |           name: vaultwarden-${{ env.SOURCE_VERSION }}-linux-arm64 |  |  |           name: vaultwarden-${{ env.SOURCE_VERSION }}-linux-arm64 | 
			
		
	
		
		
			
				
					|  |  |           path: vaultwarden-arm64 |  |  |           path: vaultwarden-arm64 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       - name: "Upload armv7 artifact" |  |  |       - name: "Upload armv7 artifact" | 
			
		
	
		
		
			
				
					
					|  |  |         uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 |  |  |         uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         if: ${{ matrix.base_image == 'alpine' }} |  |  |         if: ${{ matrix.base_image == 'alpine' }} | 
			
		
	
		
		
			
				
					|  |  |         with: |  |  |         with: | 
			
		
	
		
		
			
				
					|  |  |           name: vaultwarden-${{ env.SOURCE_VERSION }}-linux-armv7 |  |  |           name: vaultwarden-${{ env.SOURCE_VERSION }}-linux-armv7 | 
			
		
	
		
		
			
				
					|  |  |           path: vaultwarden-armv7 |  |  |           path: vaultwarden-armv7 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       - name: "Upload armv6 artifact" |  |  |       - name: "Upload armv6 artifact" | 
			
		
	
		
		
			
				
					
					|  |  |         uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 |  |  |         uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         if: ${{ matrix.base_image == 'alpine' }} |  |  |         if: ${{ matrix.base_image == 'alpine' }} | 
			
		
	
		
		
			
				
					|  |  |         with: |  |  |         with: | 
			
		
	
		
		
			
				
					|  |  |           name: vaultwarden-${{ env.SOURCE_VERSION }}-linux-armv6 |  |  |           name: vaultwarden-${{ env.SOURCE_VERSION }}-linux-armv6 | 
			
		
	
	
		
		
			
				
					|  | 
 |