diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 3f4e913..fdbc55c 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -17,12 +17,12 @@ jobs: fail-fast: false matrix: language: - - "crystal" + # - "crystal" - "go" - - "nodejs" - - "php" - - "python" - - "ruby" + # - "nodejs" + # - "php" + # - "python" + # - "ruby" env: ISHOCON_APP_LANG: ${{ matrix.language }} UNAME: ${{ secrets.DOCKER_HUB_USERNAME }} diff --git a/.github/workflows/build_and_push_images.yml b/.github/workflows/build_and_push_images.yml index fc63140..5dba57c 100644 --- a/.github/workflows/build_and_push_images.yml +++ b/.github/workflows/build_and_push_images.yml @@ -2,17 +2,20 @@ name: Build and push images on: workflow_dispatch: - push: - branches: - - master + workflow_run: + workflows: [ Benchmark ] + branches: [ '**' ] + types: + - completed concurrency: group: ${{ github.workflow }}-${{ github.sha }} cancel-in-progress: true jobs: - build-and-push-base-and-bench-images: + build-base-and-bench-images: name: Build and push base and bench images + if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-latest timeout-minutes: 60 env: @@ -69,7 +72,7 @@ jobs: name: Build app images runs-on: ubuntu-latest timeout-minutes: 60 - needs: build-and-push-base-and-bench-images + needs: build-base-and-bench-images strategy: fail-fast: false matrix: