Change to only build if Dockerfile is edited

This commit is contained in:
Seth Simmons
2021-03-24 10:41:38 -04:00
committed by GitHub
parent c91465c9c5
commit 0ef3718b88

View File

@@ -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"