forked from lolcat/4get
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			master
			...
			479854d9d7
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 479854d9d7 | |||
| 86f8edda34 | 
							
								
								
									
										48
									
								
								.gitea/workflows/ci.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								.gitea/workflows/ci.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | |||||||
|  | name: '4get CI' | ||||||
|  |  | ||||||
|  | on: | ||||||
|  |   workflow_dispatch: | ||||||
|  |   push: | ||||||
|  |     branches: | ||||||
|  |       - '*' | ||||||
|  |     paths-ignore: | ||||||
|  |       - 'README.md' | ||||||
|  |       - 'docker-compose.yaml' | ||||||
|  |       - '.gitignore' | ||||||
|  |       - 'docs/**' | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |   build: | ||||||
|  |     runs-on: docker | ||||||
|  |  | ||||||
|  |     steps: | ||||||
|  |     - uses: actions/checkout@v4 | ||||||
|  |       name: Checkout 4get repository | ||||||
|  |  | ||||||
|  |     - uses: docker/setup-buildx-action@v3 | ||||||
|  |       name: Setup Docker BuildX system | ||||||
|  |  | ||||||
|  |     - name: Login to Docker Container Registry | ||||||
|  |       uses: docker/login-action@v3 | ||||||
|  |       with: | ||||||
|  |         registry: git.lolcat.ca | ||||||
|  |         username: ${{ secrets.USERNAME }} | ||||||
|  |         password: ${{ secrets.TOKEN }} | ||||||
|  |  | ||||||
|  |     - name: Docker meta | ||||||
|  |       id: meta | ||||||
|  |       uses: docker/metadata-action@v5 | ||||||
|  |       with: | ||||||
|  |         images: git.lolcat.ca/lolcat/4get | ||||||
|  |         tags: | | ||||||
|  |           type=sha,format=short,prefix={{date 'YYYY.MM.DD'}}-,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} | ||||||
|  |           type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} | ||||||
|  |  | ||||||
|  |     - uses: docker/build-push-action@v6 | ||||||
|  |       name: Build images | ||||||
|  |       with: | ||||||
|  |         context: . | ||||||
|  |         file: Dockerfile | ||||||
|  |         tags: ${{ steps.meta.outputs.tags }} | ||||||
|  |         platforms: linux/amd64 | ||||||
|  |         push: true | ||||||
		Reference in New Issue
	
	Block a user