From 32a5d26deecd0e1f7a6cf29e088fc3c005307dcc Mon Sep 17 00:00:00 2001 From: Joshua Seiger-Eatwell Date: Fri, 3 Jan 2025 08:04:36 +0100 Subject: [PATCH] also build image on push to main --- .gitea/workflows/daily-build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/daily-build.yml b/.gitea/workflows/daily-build.yml index 85f18f2..9ec76bb 100644 --- a/.gitea/workflows/daily-build.yml +++ b/.gitea/workflows/daily-build.yml @@ -3,6 +3,9 @@ name: Daily Build Silverblue Image on: schedule: - cron: '0 0 * * *' + push: + branches: + - main jobs: build: @@ -17,8 +20,8 @@ jobs: - name: Login to Gitea registry uses: docker/login-action@v2 with: - username: ${{ secrets.GITEA_USERNAME }} - password: ${{ secrets.GITEA_PASSWORD }} + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_PASSWORD }} - name: Build Image run: |