From fd95c6cef607a657ed3520d53b2bb1847587b494 Mon Sep 17 00:00:00 2001 From: PascalR <24775431+mroxso@users.noreply.github.com> Date: Wed, 26 Apr 2023 09:20:31 +0200 Subject: [PATCH] add CI before docker-image build and push (#1) --- .github/workflows/ci.yml | 1 + .github/workflows/docker-image.yml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6861681..59ab09c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,7 @@ name: Test and build on: + workflow_call: push: branches: - master diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 44f3abc..259b4cf 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -7,7 +7,12 @@ on: - master jobs: + ci: + name: CI + uses: ./.github/workflows/ci.yml + build_and_push: + needs: [ci] name: Build and Push runs-on: ubuntu-latest steps: