Files
actions-images/.gitea/workflows/build.yaml
T
jackos1998 4f5f2fdcb9
Build and push / Build and push images (push) Failing after 44s
Update Ubuntu to 26.04 and remove craftblock
2026-06-14 20:03:17 +01:00

38 lines
979 B
YAML

name: Build and push
on:
push:
branches: [master]
jobs:
build:
name: Build and push images
runs-on: debian-node-trixie
steps:
- 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 26.04
id: build_ubuntu
uses: redhat-actions/buildah-build@v2
env:
BUILDAH_ISOLATION: chroot
with:
image: dev/actions-ubuntu
tags: '26.04'
containerfiles: |
ubuntu.Containerfile
- name: Push Ubuntu 26.04
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build_ubuntu.outputs.image }}
tags: ${{ steps.build_ubuntu.outputs.tags }}
registry: git.nul.ie
username: dev
password: ${{ secrets.PUSH_TOKEN }}