From 56b4f68356557ab7cd7c8586174fd0247a286cae Mon Sep 17 00:00:00 2001 From: leiicamundi <153937047+leiicamundi@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:53:45 +0100 Subject: [PATCH] replace workflow_run by workflow call due to main branch limitation --- .github/workflows/01-build-images.yml | 3 +++ .github/workflows/30-test-images.yml | 7 ++----- .github/workflows/90-publish-images.yml | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/01-build-images.yml b/.github/workflows/01-build-images.yml index b4587d4a..437f76aa 100644 --- a/.github/workflows/01-build-images.yml +++ b/.github/workflows/01-build-images.yml @@ -30,3 +30,6 @@ jobs: image_name: ${{ vars.CONTAINER_IMAGE_NAME }} build_context: . build_platforms: linux/amd64,linux/arm64 + + - name: Test built images + uses: .github/workflows/30-test-images.yml diff --git a/.github/workflows/30-test-images.yml b/.github/workflows/30-test-images.yml index bcae76ca..56057157 100644 --- a/.github/workflows/30-test-images.yml +++ b/.github/workflows/30-test-images.yml @@ -4,10 +4,8 @@ name: test-images on: - workflow_run: - workflows: ["build-images"] - types: - - completed + workflow_call: + jobs: test-base-image: @@ -46,7 +44,6 @@ jobs: java-enabled: false yarn-enabled: false - - name: Start Test Environment uses: ./.github/actions/compose with: diff --git a/.github/workflows/90-publish-images.yml b/.github/workflows/90-publish-images.yml index 5c3f8669..ee6c4055 100644 --- a/.github/workflows/90-publish-images.yml +++ b/.github/workflows/90-publish-images.yml @@ -14,4 +14,3 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - -