Релиз
Some checks failed
Production Build / publish (push) Failing after 10s

This commit is contained in:
2026-04-09 12:18:10 +03:00
commit bfa62ca2c6
6 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,32 @@
name: Production Build
run-name: ${{ github.actor }} is running the CI pipeline
on:
push:
branches:
- latest
jobs:
publish:
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /${{ github.workspace }}
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: git.miwory.dev
username: ${{ secrets.CI_USERNAME }}
password: ${{ secrets.CI_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Prod.Dockerfile
push: true
tags: 'git.miwory.dev/Miwory/PodkopSubsets:latest'
cache-from: type=gha
cache-to: type=gha,mode=max

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM fholzer/nginx-brotli:latest
RUN rm -rf /usr/share/nginx/html/*
COPY ./lists /usr/share/nginx/html/lists
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["-g", "daemon off;"]

0
README.md Normal file
View File

19
lists/akamai.txt Normal file
View File

@ -0,0 +1,19 @@
23.32.0.0/11
23.192.0.0/11
2.16.0.0/13
104.64.0.0/10
184.24.0.0/13
23.0.0.0/12
95.100.0.0/15
92.122.0.0/15
184.50.0.0/15
88.221.0.0/16
23.64.0.0/14
72.246.0.0/15
96.16.0.0/15
96.6.0.0/15
69.192.0.0/16
23.72.0.0/13
173.222.0.0/15
118.214.0.0/16
184.84.0.0/14

15
lists/cloudflare.txt Normal file
View File

@ -0,0 +1,15 @@
173.245.48.0/20
103.21.244.0/22
103.22.200.0/22
103.31.4.0/22
141.101.64.0/18
108.162.192.0/18
190.93.240.0/20
188.114.96.0/20
197.234.240.0/22
198.41.128.0/17
162.158.0.0/15
104.16.0.0/13
104.24.0.0/14
172.64.0.0/13
131.0.72.0/22

4
nginx.conf Normal file
View File

@ -0,0 +1,4 @@
location /lists {
autoindex on;
try_files $uri $uri/ $uri.txt;
}