mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-06 14:33:53 +05:00
CI: add build CI for api-prox
This commit is contained in:
parent
d71ae186a2
commit
155146c5a0
4 changed files with 50 additions and 1 deletions
25
.github/workflows/docker-anix-api-prox.yml
vendored
Normal file
25
.github/workflows/docker-anix-api-prox.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: Build and Publish 'anix-api-prox' to Docker Hub
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- V3
|
||||
paths:
|
||||
- "api-prox/*.ts"
|
||||
- "!api-prox/hooks/*"
|
||||
- "!api-prox/episode/*"
|
||||
- "api-prox/Dockerfile"
|
||||
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-api-prox:dev
|
||||
- name: Publish Image
|
||||
run: |
|
||||
docker login -u radiquum -p ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
docker push radiquum/anix-api-prox:dev
|
Loading…
Add table
Add a link
Reference in a new issue