Compare commits
	
		
			4 Commits
		
	
	
		
			a8ab52cf54
			...
			feature/la
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 527dced5f6 | |||
| 284bd1a034 | |||
| 7b056454ab | |||
| d6dab34e11 | 
@@ -8,29 +8,23 @@ name: Build and docker image
 | 
				
			|||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  build:
 | 
					  build:
 | 
				
			||||||
    name: Build
 | 
					    name: Build
 | 
				
			||||||
    runs-on: k8s
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Install prerequisites
 | 
					 | 
				
			||||||
      run: |
 | 
					 | 
				
			||||||
        sudo apt-get update
 | 
					 | 
				
			||||||
        sudo apt-get install -y xz-utils unzip
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    - uses: https://gitea.com/actions/checkout@v4
 | 
					    - uses: https://gitea.com/actions/checkout@v4
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    - name: Docker login
 | 
					    - name: Login to Docker Registry
 | 
				
			||||||
      uses: docker/login-action@v3
 | 
					      uses: docker/login-action@v3
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        registry: docker.io
 | 
					        registry: git.kluster.moll.re
 | 
				
			||||||
        username: ${{ secrets.docker_username }}
 | 
					        username: ${{ gitea.repository_owner }}
 | 
				
			||||||
        password: ${{ secrets.docker_password }}
 | 
					        password: ${{ secrets.GITEA_TOKEN}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Set up Docker Buildx
 | 
					    - name: Set up Docker Buildx
 | 
				
			||||||
      uses: https://github.com/docker/setup-buildx-action@v3
 | 
					      uses: docker/setup-buildx-action@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Build
 | 
					    - name: Build and push
 | 
				
			||||||
      uses: https://github.com/docker/build-push-action@v2
 | 
					      uses: docker/build-push-action@v5
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        context: frontend
 | 
					        context: frontend
 | 
				
			||||||
        tags: ${{ secrets.docker_registry }}/frontend:latest
 | 
					        tags: git.kluster.moll.re/renoll/moll.re/frontend:latest
 | 
				
			||||||
        push: true
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user