From f7616b5c2cef55c10524a9440bd5bc601d5334fa Mon Sep 17 00:00:00 2001 From: Jonathan Cremin Date: Wed, 4 Jun 2025 13:59:41 +0100 Subject: [PATCH] Pull and updates to the base image on each build --- .forgejo/workflows/build-image.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.forgejo/workflows/build-image.yaml b/.forgejo/workflows/build-image.yaml index baa4c45..141a070 100644 --- a/.forgejo/workflows/build-image.yaml +++ b/.forgejo/workflows/build-image.yaml @@ -30,6 +30,10 @@ jobs: filters: | src: - 'workstation/**' + - name: Fetch latest image + if: github.event_name == 'schedule' || steps.changes.outputs.src == 'true' + run: | + podman pull cremin.dev/jonathan/ublue-silverblue-main:42 - name: Build image if: github.event_name == 'schedule' || steps.changes.outputs.src == 'true' uses: https://cremin.dev/actions/buildah-build@v2 @@ -72,6 +76,10 @@ jobs: filters: | src: - 'workstation-nvidia/**' + - name: Fetch latest image + if: github.event_name == 'schedule' || steps.changes.outputs.src == 'true' + run: | + podman pull cremin.dev/jonathan/ublue-silverblue-nvidia:42 - name: Build image if: github.event_name == 'schedule' || steps.changes.outputs.src == 'true' uses: https://cremin.dev/actions/buildah-build@v2