mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-06 14:33:53 +05:00
35 lines
No EOL
992 B
YAML
35 lines
No EOL
992 B
YAML
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' |