Revert "removed ci"
Some checks are pending
Build Silverblue Image / build-push (push) Waiting to run

This reverts commit a0a2389db1.
This commit is contained in:
Joshua Seiger-Eatwell 2025-03-27 22:17:08 +01:00
parent d31d8706f7
commit cb073e987e

View File

@ -0,0 +1,33 @@
name: Build Silverblue Image
on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- main
jobs:
build-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Gitea registry
uses: docker/login-action@v2
with:
registry: git.joshua-se.com
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build Image
run: |
docker build -f Containerfile -t git.joshua-se.com/joshuase96/silverblue-custom:latest .
- name: Push Image
run: |
docker push git.joshua-se.com/joshuase96/silverblue-custom:latest