mirror of
https://github.com/sethforprivacy/p2pool-docker.git
synced 2025-12-08 08:23:34 -05:00
Change to only build if Dockerfile is edited
This commit is contained in:
7
.github/workflows/update-image-on-push.yml
vendored
7
.github/workflows/update-image-on-push.yml
vendored
@@ -1,6 +1,9 @@
|
|||||||
name: "Update Image and Push to Github Packages and Docker Hub when commits are pushed to this repo"
|
name: "Update Image and Push to Github Packages and Docker Hub when Dockerfile is changed"
|
||||||
# Run this workflow every time a new commit pushed to your repository
|
# Run this workflow every time a new commit pushed to your repository
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'Dockerfile'
|
||||||
jobs:
|
jobs:
|
||||||
rebuild-container:
|
rebuild-container:
|
||||||
name: "Rebuild Container"
|
name: "Rebuild Container"
|
||||||
|
|||||||
Reference in New Issue
Block a user