2025-01-03 08:01:28 +01:00
|
|
|
name: Daily Build Silverblue Image
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
2025-01-03 08:04:36 +01:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2025-01-03 08:01:28 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2025-01-03 08:26:03 +01:00
|
|
|
runs-on: podman
|
2025-01-03 08:01:28 +01:00
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Login to Gitea registry
|
2025-01-03 08:21:24 +01:00
|
|
|
run: |
|
|
|
|
podman login git.joshua-se.com -u ${{ secrets.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }}
|
2025-01-03 08:01:28 +01:00
|
|
|
|
|
|
|
- name: Build Image
|
|
|
|
run: |
|
2025-01-03 08:21:24 +01:00
|
|
|
podman build -t git.joshua-se.com/joshuase96/silverblue-custom:latest .
|
2025-01-03 08:01:28 +01:00
|
|
|
|
|
|
|
- name: Push Image
|
|
|
|
run: |
|
2025-01-03 08:21:24 +01:00
|
|
|
podman push git.joshua-se.com/joshuase96/silverblue-custom:latest
|