Skip to content

Commit 1c499a8

Browse files
committed
Update scan workflow
1 parent b40c787 commit 1c499a8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/scan.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ on:
3333
required: false
3434
type: string
3535
default: "nuget"
36-
3736
jobs:
3837
determine-package-type:
3938
runs-on: ubuntu-latest
@@ -52,7 +51,7 @@ jobs:
5251
5352
if echo "$PR_FILES" | grep -q 'Dockerfile'; then
5453
package_types=""
55-
elif echo "$PR_FILES" | grep -qE '\.(cs|csproj)$'; then
54+
elif echo "$PR_FILES" | grep -qE '\.(cs|csproj|props)$'; then
5655
package_types="nuget"
5756
fi
5857
@@ -77,7 +76,7 @@ jobs:
7776
username: ${{ secrets.DOCKERHUB_USERNAME }}
7877
password: ${{ secrets.DOCKERHUB_TOKEN }}
7978
logout: true
80-
- name: Build
79+
- name: Build and/or push
8180
uses: docker/build-push-action@v6
8281
with:
8382
context: .

0 commit comments

Comments
 (0)