Skip to content

Commit d28de0d

Browse files
committed
Use sha and ref for upload
1 parent d3d551c commit d28de0d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build-and-sign-image.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@ on:
99
branches:
1010
- "main"
1111

12-
push:
13-
branches:
14-
- "fix-trivy-scan-upload"
15-
1612
env:
1713
REGISTRY: ghcr.io
1814
IMAGE_NAME: ${{ github.repository }}
1915

2016
jobs:
2117
build_and_sign_image:
22-
# if: ${{ github.event.pull_request.merged }}
18+
if: ${{ github.event.pull_request.merged }}
2319
runs-on: ubuntu-latest
2420
permissions:
2521
contents: read

0 commit comments

Comments
 (0)