build update
All checks were successful
Build and Push Minecraft Docker Images on Debian-base update / poll-debian-base-and-build (push) Successful in 8s
Build and Push Minecraft Docker Images on Debian-base update / generate-changelogs (push) Successful in 11s
Build and Push Minecraft Docker Images on Debian-base update / generate-build-info (push) Successful in 12s

This commit is contained in:
2025-07-07 05:55:45 -07:00
parent 1da167fbba
commit 05dbe9d304
2 changed files with 22 additions and 5 deletions

View File

@@ -4,9 +4,14 @@ on:
push:
branches:
- master
paths-ignore:
- '**/CHANGES.md'
- '**/build-info.json'
paths:
- '**/Dockerfile'
- '**/*.sh'
- '.github/workflows/**'
- '**/*.yml'
- '**/*.yaml'
- '!**/CHANGES.md'
- '!**/build-info.json'
schedule:
- cron: '30 */6 * * *' # Every 6 hours
@@ -75,8 +80,17 @@ jobs:
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Check for Dockerfile or .sh changes
id: check_files_changed
run: |
CHANGED=false
if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -E '\.sh$|Dockerfile'; then
CHANGED=true
fi
echo "files_changed=$CHANGED" >> $GITHUB_OUTPUT
- name: Build and Push Minecraft Docker Images
if: steps.compare_digest.outputs.changed == 'true'
if: steps.compare_digest.outputs.changed == 'true' || steps.check_files_changed.outputs.files_changed == 'true'
env:
IMAGE_TAG_VANILLA: vanilla
IMAGE_TAG_TESTING: testing

View File

@@ -43,3 +43,6 @@ VOLUME /MCserver
# Run command
CMD [ "/bin/bash", "./MCtemp/install_script.sh" ]
#ljkfhdg;ldjgfs;lkjsdfg