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: