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