Update Ubuntu to 26.04 and remove craftblock
Build and push / Build and push images (push) Successful in 1m15s
Build and push / Build and push images (push) Successful in 1m15s
This commit is contained in:
@@ -7,27 +7,25 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
name: Build and push images
|
||||
runs-on: debian-node-bullseye
|
||||
runs-on: debian-node-trixie
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Install buildah
|
||||
run: |
|
||||
apt-get -y update
|
||||
apt-get -y install buildah podman
|
||||
|
||||
(echo '[storage]';echo 'driver = "vfs"') > /etc//containers/storage.conf
|
||||
|
||||
- name: Build Ubuntu 22.04
|
||||
- name: Build Ubuntu 26.04
|
||||
id: build_ubuntu
|
||||
uses: redhat-actions/buildah-build@v2
|
||||
env:
|
||||
BUILDAH_ISOLATION: chroot
|
||||
with:
|
||||
image: dev/actions-ubuntu
|
||||
tags: '22.04'
|
||||
tags: '26.04'
|
||||
containerfiles: |
|
||||
ubuntu.Containerfile
|
||||
- name: Push Ubuntu 22.04
|
||||
- name: Push Ubuntu 26.04
|
||||
uses: redhat-actions/push-to-registry@v2
|
||||
with:
|
||||
image: ${{ steps.build_ubuntu.outputs.image }}
|
||||
@@ -35,22 +33,3 @@ jobs:
|
||||
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 }}
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
FROM ghcr.io/itzg/minecraft-server:2024.1.0-java17-alpine
|
||||
RUN apk add --no-cache -U git-lfs openssh
|
||||
@@ -1,4 +1,3 @@
|
||||
FROM docker.io/node:18-bullseye
|
||||
FROM docker.io/node:24-trixie
|
||||
RUN apt-get -y update && \
|
||||
apt-get -y install sudo jq buildah podman && \
|
||||
(echo '[storage]';echo 'driver = "vfs"') > /etc//containers/storage.conf
|
||||
apt-get -y install sudo jq buildah podman
|
||||
|
||||
Reference in New Issue
Block a user