silverblue-custom/.gitea/workflows/daily-build.yml
Joshua Seiger-Eatwell 32a5d26dee
Some checks failed
Daily Build Silverblue Image / build (push) Failing after 15s
also build image on push to main
2025-01-03 08:04:36 +01:00

33 lines
744 B
YAML

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