.gitea/workflows/build.yml aktualisiert
buh
This commit is contained in:
@@ -1,7 +1,27 @@
|
|||||||
build_push:
|
name: Build container image
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
schedule:
|
||||||
|
- cron: '05 12 * * 2,5'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
IMAGE_DESC: "Custom Fedora bootc image"
|
||||||
|
IMAGE_NAME: "${{ github.event.repository.name }}"
|
||||||
|
DEFAULT_TAG: "stable"
|
||||||
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_push:
|
||||||
name: Build and push image
|
name: Build and push image
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
# Hier sind alle Variablen vereint, damit der Runner sie korrekt übernimmt
|
|
||||||
env:
|
env:
|
||||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
||||||
BUILDAH_ISOLATION: chroot
|
BUILDAH_ISOLATION: chroot
|
||||||
@@ -25,7 +45,6 @@ build_push:
|
|||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y buildah fuse-overlayfs
|
sudo apt-get install -y buildah fuse-overlayfs
|
||||||
|
|
||||||
# Erzwingt vfs-Speicher für DinD-Umgebungen
|
|
||||||
- name: Configure Buildah Storage
|
- name: Configure Buildah Storage
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.config/containers
|
mkdir -p ~/.config/containers
|
||||||
|
|||||||
Reference in New Issue
Block a user