mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 11:58:37 +09:00
24 lines
607 B
YAML
24 lines
607 B
YAML
name: Push Base Image to DockerHub
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
paths:
|
|
- 'Dockerfile-base'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
dockerhub-push:
|
|
uses: nikhilbadyal/ghactions/.github/workflows/dockerhub-push.yml@main
|
|
if: github.repository == 'nikhilbadyal/docker-py-revanced'
|
|
with:
|
|
IMAGE_TAG: ${{ github.repository }}-base:latest
|
|
FILE: Dockerfile-base
|
|
secrets:
|
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|