Skip to content

Commit

Permalink
chore: Update CI to skip docker image build if Rust checks fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugoch committed Jan 8, 2025
1 parent fa90752 commit 9c5c387
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and push docker image to internal registry
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-build
cancel-in-progress: true
jobs:
build-and-push:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ concurrency:
cancel-in-progress: true

jobs:
rust:
Rust checks:
permissions:
pull-requests: write
contents: read
uses: ./.github/workflows/rust.yaml
build:
Build Docker image:
permissions:
packages: write
contents: read
Expand Down

0 comments on commit 9c5c387

Please sign in to comment.