refactor: CI/CD pipelines #5

Merged
t.behrendt merged 6 commits from fix-cd-pipeline into main 2024-04-01 21:47:19 +02:00
2 changed files with 13 additions and 5 deletions
Showing only changes of commit 9dc3feecf4 - Show all commits

View File

@@ -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 }}

View File

@@ -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