Add Minecraft image
All checks were successful
Build and push / Build and push images (push) Successful in 2m9s
All checks were successful
Build and push / Build and push images (push) Successful in 2m9s
This commit is contained in:
parent
268876d0c4
commit
74de1711e5
@ -18,7 +18,7 @@ jobs:
|
||||
(echo '[storage]';echo 'driver = "vfs"') > /etc//containers/storage.conf
|
||||
|
||||
- name: Build Ubuntu 22.04
|
||||
id: build
|
||||
id: build_ubuntu
|
||||
uses: redhat-actions/buildah-build@v2
|
||||
env:
|
||||
BUILDAH_ISOLATION: chroot
|
||||
@ -30,8 +30,27 @@ jobs:
|
||||
- name: Push Ubuntu 22.04
|
||||
uses: redhat-actions/push-to-registry@v2
|
||||
with:
|
||||
image: ${{ steps.build.outputs.image }}
|
||||
tags: ${{ steps.build.outputs.tags }}
|
||||
image: ${{ steps.build_ubuntu.outputs.image }}
|
||||
tags: ${{ steps.build_ubuntu.outputs.tags }}
|
||||
registry: git.nul.ie
|
||||
username: dev
|
||||
password: ${{ secrets.PUSH_TOKEN }}
|
||||
|
||||
- name: Build Minecraft
|
||||
id: build_mc
|
||||
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_mc.outputs.image }}
|
||||
tags: ${{ steps.build_mc.outputs.tags }}
|
||||
registry: git.nul.ie
|
||||
username: dev
|
||||
password: ${{ secrets.PUSH_TOKEN }}
|
||||
|
2
craftblock.Containerfile
Normal file
2
craftblock.Containerfile
Normal file
@ -0,0 +1,2 @@
|
||||
FROM ghcr.io/itzg/minecraft-server:2024.1.0-java17-alpine
|
||||
RUN apk add --no-cache -U git-lfs
|
Loading…
Reference in New Issue
Block a user