mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
24 lines
625 B
YAML
24 lines
625 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
|
|
with:
|
|
PLATFORMS: linux/amd64
|
|
secrets:
|
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|