Files
minecraft_vanilla/.gitea/workflows/minecraft.yaml
ducoterra 3b62f0648a
Some checks failed
Minecraft Java Image / build-and-push-ddns (push) Failing after 23s
remove creds from build push action
2025-07-15 17:20:50 -04:00

27 lines
777 B
YAML

name: Minecraft Java Image
run-name: Build and Push the Minecraft Java Image
on:
push:
paths:
- Dockerfile
- IMAGE
- VERSION
- .gitea/workflows/minecraft.yaml
schedule:
- cron: '@daily'
jobs:
build-and-push-ddns:
runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/master'
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5
with:
context: ${{ gitea.workspace }}
file: ${{ gitea.workspace }}/Dockerfile
push: true
tags: "gitea.reeseapps.com/services/minecraft:latest,gitea.reeseapps.com/services/minecraft:${{gitea.sha}}"
no-cache: true