mirror of
https://github.com/wahyd4/badger.git
synced 2026-08-09 05:15:58 +10:00
Only compile the UI docker image when there's some updates in the www folder
This commit is contained in:
@@ -34,6 +34,7 @@ jobs:
|
||||
docker push docker.pkg.github.com/wahyd4/badger/badger:v0.1.$GITHUB_RUN_NUMBER
|
||||
-
|
||||
name: Build and push UI docker image
|
||||
if: ! ${{ git diff --quiet HEAD~1 HEAD -- www }}
|
||||
run: |
|
||||
cd www
|
||||
docker build . --tag docker.pkg.github.com/wahyd4/badger/ui:v0.1.$GITHUB_RUN_NUMBER
|
||||
|
||||
Reference in New Issue
Block a user