Files
docker-py-revanced/.github/workflows/dockerhub.yml
T
2022-10-22 19:32:15 +05:30

22 lines
590 B
YAML

name: Push to DockerHub
on:
workflow_dispatch:
push:
branches:
- 'main'
paths:
- '**.py'
- 'README.md'
jobs:
dockerhub-push:
uses: nikhilbadyal/ghactions/.github/workflows/dockerhub-push.yml@main
if: github.repository == 'nikhilbadyal/docker-py-revanced'
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
cleanup:
name: GitHub Cleanup
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}