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