mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-06 22:43:54 +05:00
25 lines
617 B
YAML
25 lines
617 B
YAML
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
|