From 9dc3feecf4c8a7abd7e7825673020141678e19ae Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Mon, 1 Apr 2024 21:28:48 +0200 Subject: [PATCH] fix: workflows referencing actions --- .gitea/workflows/cd.yaml | 12 ++++++++---- .gitea/workflows/ci.yaml | 6 +++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index c5947b4..ef3c9ff 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -10,11 +10,15 @@ env: jobs: test: - uses: ./.gitea/actions/ci-action.yaml + runs-on: ubuntu-latest + steps: + - uses: ./.gitea/actions/ci-action.yaml build_and_push: - uses: ./.gitea/actions/cd-action.yaml - with: - DOCKER_REGISTRY: ${{ env.DOCKER_REGISTRY }} + runs-on: ubuntu-latest requires: - test + steps: + - uses: ./.gitea/actions/cd-action.yaml + with: + DOCKER_REGISTRY: ${{ env.DOCKER_REGISTRY }} diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index cf271da..25860d6 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -9,4 +9,8 @@ env: jobs: test: - uses: ./.gitea/actions/ci-action.yaml + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - uses: ./.gitea/actions/ci-action.yaml