Skip to content

Commit

Permalink
ci: run build and push images after benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
mickamy committed Jan 8, 2024
1 parent 033d83d commit 760c05e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build_and_push_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@ name: Build and push images

on:
workflow_dispatch:
push:
branches:
- master
workflow_run:
workflows: ["Benchmark"]
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:
Expand Down Expand Up @@ -69,7 +71,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:
Expand Down

0 comments on commit 760c05e

Please sign in to comment.