silverblue-custom/.gitea/workflows/build-push-image.yml
Joshua Seiger-Eatwell b91ea3677a
Some checks are pending
Build Silverblue Image / build-push (push) Waiting to run
renamed and refactored pipeline
2025-01-03 08:42:34 +01:00

28 lines
627 B
YAML

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