From 5b0fec9a09d7d238e868a90209f535091525f0f0 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Thu, 31 Oct 2024 09:27:01 +0100 Subject: [PATCH] Split jobs --- .forgejo/workflows/build_deploy.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build_deploy.yaml b/.forgejo/workflows/build_deploy.yaml index c480eb9..4f80fb9 100644 --- a/.forgejo/workflows/build_deploy.yaml +++ b/.forgejo/workflows/build_deploy.yaml @@ -10,11 +10,14 @@ env: LATEST_IMAGE: ${{ env.REGISTRY }}/${{ github.repository }}:latest jobs: - build: + prepare: runs-on: docker steps: - name: Checkout repository uses: actions/checkout@v4 + build_and_push: + runs-on: self-hosted + steps: - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: