Update Ubuntu to 26.04 and remove craftblock
Build and push / Build and push images (push) Failing after 44s
Build and push / Build and push images (push) Failing after 44s
This commit is contained in:
@@ -7,27 +7,27 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build and push images
|
name: Build and push images
|
||||||
runs-on: debian-node-bullseye
|
runs-on: debian-node-trixie
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- name: Install buildah
|
- name: Install buildah
|
||||||
run: |
|
run: |
|
||||||
apt-get -y update
|
apt-get -y update
|
||||||
apt-get -y install buildah podman
|
apt-get -y install buildah podman
|
||||||
|
|
||||||
(echo '[storage]';echo 'driver = "vfs"') > /etc//containers/storage.conf
|
(echo '[storage]';echo 'driver = "vfs"') > /etc/containers/storage.conf
|
||||||
|
|
||||||
- name: Build Ubuntu 22.04
|
- name: Build Ubuntu 26.04
|
||||||
id: build_ubuntu
|
id: build_ubuntu
|
||||||
uses: redhat-actions/buildah-build@v2
|
uses: redhat-actions/buildah-build@v2
|
||||||
env:
|
env:
|
||||||
BUILDAH_ISOLATION: chroot
|
BUILDAH_ISOLATION: chroot
|
||||||
with:
|
with:
|
||||||
image: dev/actions-ubuntu
|
image: dev/actions-ubuntu
|
||||||
tags: '22.04'
|
tags: '26.04'
|
||||||
containerfiles: |
|
containerfiles: |
|
||||||
ubuntu.Containerfile
|
ubuntu.Containerfile
|
||||||
- name: Push Ubuntu 22.04
|
- name: Push Ubuntu 26.04
|
||||||
uses: redhat-actions/push-to-registry@v2
|
uses: redhat-actions/push-to-registry@v2
|
||||||
with:
|
with:
|
||||||
image: ${{ steps.build_ubuntu.outputs.image }}
|
image: ${{ steps.build_ubuntu.outputs.image }}
|
||||||
@@ -35,22 +35,3 @@ jobs:
|
|||||||
registry: git.nul.ie
|
registry: git.nul.ie
|
||||||
username: dev
|
username: dev
|
||||||
password: ${{ secrets.PUSH_TOKEN }}
|
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,4 @@
|
|||||||
FROM docker.io/node:18-bullseye
|
FROM docker.io/node:24-trixie
|
||||||
RUN apt-get -y update && \
|
RUN apt-get -y update && \
|
||||||
apt-get -y install sudo jq buildah podman && \
|
apt-get -y install sudo jq buildah podman && \
|
||||||
(echo '[storage]';echo 'driver = "vfs"') > /etc//containers/storage.conf
|
(echo '[storage]';echo 'driver = "vfs"') > /etc/containers/storage.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user