Skip to content

Commit f27e362

Browse files
author
Prakash
committed
Fix the deletion issue by specifying direct package version
1 parent 094f209 commit f27e362

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,8 @@ jobs:
132132
if: always() # This ensures the step runs even if previous steps fail
133133
uses: actions/delete-package-versions@v5
134134
with:
135+
package-version-ids: 'scan-${{ github.sha }}'
135136
package-name: 'clinical-frontend'
136137
package-type: 'container'
137138
owner: 'bahnew'
138-
token: ${{ secrets.GITHUB_TOKEN }}
139-
min-versions-to-keep: 0
140-
ignore-versions: '^(?!scan-${{ github.sha }}$).*$'
139+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)