ci: finalize manual podman build pipeline for fluffy-pancake
This commit is contained in:
+10
-11
@@ -2,8 +2,8 @@ name: Build container image
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '05 12 * * 2,5' # Baut automatisch Dienstags und Freitags um 12:05 Uhr
|
||||
workflow_dispatch: # Schaltet den "Run Workflow"-Button im Gitea-Dashboard frei
|
||||
- cron: '05 12 * * 2,5'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
IMAGE_DESC: "Custom Fedora bootc image"
|
||||
@@ -18,10 +18,7 @@ concurrency:
|
||||
jobs:
|
||||
build_push:
|
||||
name: Build and push image
|
||||
runs-on: ubuntu-24.04
|
||||
container:
|
||||
image: quay.io/podman/stable:latest
|
||||
options: --privileged
|
||||
runs-on: ubuntu-24.04 # Läuft jetzt auf Ubuntu (bringt Node.js für Actions nativ mit!)
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -29,9 +26,14 @@ jobs:
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- name: Install CI Prerequisites
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Wir installieren Podman und jq direkt im Ubuntu-Runner. Das dauert nur ~10 Sekunden.
|
||||
- name: Install Podman & Tools
|
||||
run: |
|
||||
dnf install -y curl jq
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y podman jq curl
|
||||
|
||||
- name: Prepare environment
|
||||
run: |
|
||||
@@ -50,9 +52,6 @@ jobs:
|
||||
echo "IS_TEST_BUILD=true" >> ${GITHUB_ENV}
|
||||
fi
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Image Metadata
|
||||
uses: docker/metadata-action@v5
|
||||
id: metadata
|
||||
|
||||
Reference in New Issue
Block a user