Skip to content

Commit f85deea

Browse files
committed
fix: added tag prefix as env var back to new action
1 parent 94997d1 commit f85deea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/clean-main-images.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ on:
1212
type: 'boolean'
1313

1414
env:
15-
REGISTRY: ghcr.io
16-
ORG: openmcp-project
1715
IMAGE_NAME: mcp-ui-frontend
1816
KEEP_X_IMAGES: 5
1917
TAG_PREFIX: 'main-'
@@ -29,7 +27,7 @@ jobs:
2927
with:
3028
dry-run: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.dry-run == 'true' }}
3129
packages: ${{ env.IMAGE_NAME }}
32-
delete-tags: main-*
30+
delete-tags: ${{ env.TAG_PREFIX }}
3331
delete-untagged: true
3432
keep-n-tagged: ${{ env.KEEP_X_IMAGES }}
3533
delete-ghost-images: true

0 commit comments

Comments
 (0)