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: push:
branches: branches:
- master - master
paths-ignore: paths:
- '**/CHANGES.md' - '**/Dockerfile'
- '**/build-info.json' - '**/*.sh'
- '.github/workflows/**'
- '**/*.yml'
- '**/*.yaml'
- '!**/CHANGES.md'
- '!**/build-info.json'
schedule: schedule:
- cron: '30 */6 * * *' # Every 6 hours - cron: '30 */6 * * *' # Every 6 hours
@@ -75,8 +80,17 @@ jobs:
echo "changed=true" >> $GITHUB_OUTPUT echo "changed=true" >> $GITHUB_OUTPUT
fi 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 - 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: env:
IMAGE_TAG_VANILLA: vanilla IMAGE_TAG_VANILLA: vanilla
IMAGE_TAG_TESTING: testing IMAGE_TAG_TESTING: testing

View File

@@ -42,4 +42,7 @@ RUN wget "$INSTALL_SCRIPT" -O /MCtemp/install_script.sh \
VOLUME /MCserver VOLUME /MCserver
# Run command # Run command
CMD [ "/bin/bash", "./MCtemp/install_script.sh" ] CMD [ "/bin/bash", "./MCtemp/install_script.sh" ]
#ljkfhdg;ldjgfs;lkjsdfg