Lets see what deepseek does
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build and Push Server Docker Image / build-server (push) Successful in 8m58s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build and Push Server Docker Image / build-server (push) Successful in 8m58s
				
			This commit is contained in:
		@@ -1,4 +1,3 @@
 | 
				
			|||||||
# .github/workflows/build-server.yml
 | 
					 | 
				
			||||||
name: Build and Push Server Docker Image
 | 
					name: Build and Push Server Docker Image
 | 
				
			||||||
 | 
					
 | 
				
			||||||
on:
 | 
					on:
 | 
				
			||||||
@@ -9,12 +8,19 @@ on:
 | 
				
			|||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  build-server:
 | 
					  build-server:
 | 
				
			||||||
    runs-on: ubuntu-24.04
 | 
					    runs-on: ubuntu-24.04
 | 
				
			||||||
 | 
					    services:
 | 
				
			||||||
 | 
					      docker:
 | 
				
			||||||
 | 
					        image: docker:dind
 | 
				
			||||||
 | 
					        options: --privileged --security-opt seccomp=unconfined
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      # 1. Check out the repo
 | 
					      # 1. Check out the repo
 | 
				
			||||||
      - uses: actions/checkout@v4
 | 
					      - uses: actions/checkout@v4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # 2. Log in to your container registry
 | 
					      # 2. Set up Docker Buildx (recommended for advanced caching)
 | 
				
			||||||
 | 
					      - name: Set up Docker Buildx
 | 
				
			||||||
 | 
					        uses: docker/setup-buildx-action@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      # 3. Log in to your container registry
 | 
				
			||||||
      - name: Log in to registry
 | 
					      - name: Log in to registry
 | 
				
			||||||
        uses: docker/login-action@v2
 | 
					        uses: docker/login-action@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
@@ -22,11 +28,11 @@ jobs:
 | 
				
			|||||||
          username: ${{ secrets.REGISTRY_USERNAME }}
 | 
					          username: ${{ secrets.REGISTRY_USERNAME }}
 | 
				
			||||||
          password: ${{ secrets.REGISTRY_PASSWORD }}
 | 
					          password: ${{ secrets.REGISTRY_PASSWORD }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # 2.5 Lowercase the repository name
 | 
					      # 4. Lowercase the repository name
 | 
				
			||||||
      - name: Set lowercase repo name
 | 
					      - name: Set lowercase repo name
 | 
				
			||||||
        run: echo "REPO_NAME_LOWER=$(echo '${{ github.event.repository.name }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
 | 
					        run: echo "REPO_NAME_LOWER=$(echo '${{ github.event.repository.name }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # 3. Build & push the server image, using remote cache
 | 
					      # 5. Build & push the server image, using remote cache
 | 
				
			||||||
      - name: Build and push server image
 | 
					      - name: Build and push server image
 | 
				
			||||||
        uses: docker/build-push-action@v4
 | 
					        uses: docker/build-push-action@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
@@ -35,5 +41,4 @@ jobs:
 | 
				
			|||||||
          push:       true
 | 
					          push:       true
 | 
				
			||||||
          tags:       ${{ secrets.REGISTRY_URL }}/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}:latest-server
 | 
					          tags:       ${{ secrets.REGISTRY_URL }}/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}:latest-server
 | 
				
			||||||
          cache-from: type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}:buildcache
 | 
					          cache-from: type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}:buildcache
 | 
				
			||||||
          cache-to:   type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}:buildcache,mode=max
 | 
					          cache-to:   type=registry,ref=${{ secrets.REGISTRY_URL }}/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}:buildcache,mode=max
 | 
				
			||||||
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user