Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/reusable-container-publication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
username: ${{ secrets.container-registry-username }}
password: ${{ secrets.container-registry-password }}
- name: Build container image
run: docker build . --file ${{ inputs.image-definition }} --tag ${{ env.IMAGE_REF }} ${{ secrets.extra-build-arguments }}
run: docker build . --file ${{ inputs.image-definition }} --tag ${{ env.IMAGE_REF }} ${{ inputs.extra-build-arguments }}
shell: bash
- name: Generate SBOM with Syft
uses: anchore/sbom-action@v0
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/reusable-dotnet-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Reusable - .NET quality
on:
workflow_call:
inputs:
custom-commands:
description: "Optional shell commands to run before build & test"
type: string
required: false
default: ""
dotnet-version:
description: .NET version
type: string
Expand Down Expand Up @@ -107,6 +112,10 @@ jobs:
- name: Start MongoDB
if: ${{ inputs.mongodb-enabled }}
uses: ./workflow-parts/actions/mongodb/start
- name: Run optional custom commands
if: ${{ inputs.custom-commands != '' }}
run: |
${{ inputs.custom-commands }}
- name: Build & test
if: ${{ ! inputs.sonar-enabled }}
uses: ./workflow-parts/actions/dotnet/build-test
Expand Down
Loading