mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-04 13:35:36 +05:00
feat/CI: add CI build of development docker images
This commit is contained in:
parent
260a30d94d
commit
37d6d4df5b
2 changed files with 70 additions and 0 deletions
35
.github/workflows/docker-anix-player-parsers.yml
vendored
Normal file
35
.github/workflows/docker-anix-player-parsers.yml
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
name: Build and Publish 'anix-player-parsers' to Docker Hub
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- V3
|
||||
paths:
|
||||
- 'player-parsers/*.ts'
|
||||
- 'player-parsers/Dockerfile'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Build Image
|
||||
run: |
|
||||
cd ./player-parsers
|
||||
docker build . -t radiquum/anix-player-parser:dev
|
||||
- name: Publish Image
|
||||
run: |
|
||||
docker login -u radiquum -p ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
docker push radiquum/anix-player-parser:dev
|
||||
- name: push README to Dockerhub
|
||||
uses: christian-korneck/update-container-description-action@v1
|
||||
env:
|
||||
DOCKER_USER: radiquum
|
||||
DOCKER_PASS: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
with:
|
||||
destination_container_repo: radiquum/anix-player-parser
|
||||
provider: dockerhub
|
||||
short_description: 'Get direct video and poster url from Sibnet, Kodik and Libria sources'
|
||||
readme_file: 'README.md'
|
35
.github/workflows/docker-anix.yml
vendored
Normal file
35
.github/workflows/docker-anix.yml
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
name: Build and Publish 'anix' to Docker Hub
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- V3
|
||||
paths:
|
||||
- 'app/**'
|
||||
- 'Dockerfile'
|
||||
- 'middleware.ts'
|
||||
- 'next.config.js'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Build Image
|
||||
run: docker build . -t radiquum/anix:dev
|
||||
- name: Publish Image
|
||||
run: |
|
||||
docker login -u radiquum -p ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
docker push radiquum/anix:dev
|
||||
- name: push README to Dockerhub
|
||||
uses: christian-korneck/update-container-description-action@v1
|
||||
env:
|
||||
DOCKER_USER: radiquum
|
||||
DOCKER_PASS: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
with:
|
||||
destination_container_repo: radiquum/anix
|
||||
provider: dockerhub
|
||||
short_description: 'AniX is an unofficial web client for the Android application Anixart'
|
||||
readme_file: 'README.md'
|
Loading…
Add table
Add a link
Reference in a new issue