Add Minecraft image
Some checks failed
Build and push / Build and push images (push) Failing after 1m43s

This commit is contained in:
Jack O'Sullivan 2024-01-08 21:45:36 +00:00
parent 268876d0c4
commit 08f853c5d8
2 changed files with 21 additions and 0 deletions

View File

@ -35,3 +35,22 @@ jobs:
registry: git.nul.ie
username: dev
password: ${{ secrets.PUSH_TOKEN }}
- name: Build Minecraft
id: build
uses: redhat-actions/buildah-build@v2
env:
BUILDAH_ISOLATION: chroot
with:
image: dev/craftblock
tags: 2024.1.0-java17-alpine
containerfiles: |
craftblock.Containerfile
- name: Push Minecraft
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build.outputs.image }}
tags: ${{ steps.build.outputs.tags }}
registry: git.nul.ie
username: dev
password: ${{ secrets.PUSH_TOKEN }}

2
craftblock.Containerfile Normal file
View File

@ -0,0 +1,2 @@
FROM itzg/minecraft-server:2024.1.0-java17-alpine
RUN apk add --no-cache -U git-lfs