Files
docker-py-revanced/.github/workflows/dockerhub.yml
T
Nikhil Badyal 39819c4107 👷 Workflow cleanup
2022-10-21 23:43:41 +05:30

22 lines
586 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.GH_TOKEN }}