From 587255bddeba6d3f14f6fc006a6f89351a9bb15a Mon Sep 17 00:00:00 2001 From: Gabriele Tramonte Date: Thu, 26 Sep 2024 11:44:45 +0200 Subject: [PATCH] fixing workflow to be triggered in sequence --- .github/workflows/build-push-docker-base.yml | 3 --- .github/workflows/build-push-docker_pr.yml | 9 ++++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-push-docker-base.yml b/.github/workflows/build-push-docker-base.yml index 911aaed..48496d5 100644 --- a/.github/workflows/build-push-docker-base.yml +++ b/.github/workflows/build-push-docker-base.yml @@ -2,9 +2,6 @@ name: Build geokube-base Docker image and push to geokube-base container registr on: pull_request: - paths: - - Dockerfile.base - - requirements.txt workflow_dispatch: jobs: diff --git a/.github/workflows/build-push-docker_pr.yml b/.github/workflows/build-push-docker_pr.yml index e178fcc..c24a58e 100644 --- a/.github/workflows/build-push-docker_pr.yml +++ b/.github/workflows/build-push-docker_pr.yml @@ -1,12 +1,11 @@ name: Build geokube Docker image and push to geokube container registry on: - pull_request: - paths: - - geokube/** - - Dockerfile - + workflow_run: + workflows: [ 'build-base' ] + types: [ completed ] workflow_dispatch: + jobs: build: runs-on: ubuntu-latest