Skip to content

ci: publish main commit tag to ghcr.io/coder/coder-preview #8897

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Aug 4, 2023
Merged
Prev Previous commit
Next Next commit
fix filter
  • Loading branch information
matifali committed Aug 4, 2023
commit b2bcb85237bcc655a246563645e9807b70b38e88
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,6 @@ jobs:
container: coder-preview
dry-run: true
keep-younger-than: 7 # days
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will delete all old image tags older than 7 days that does not start with pr e.g. pr1234 and will delete images that start with main- i.e. main-632hst52

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

@matifali matifali Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will also not delete custom pushed tags like gvisor-fix

keep-tags-regexes: ^pr-
keep-tags-regexes: ^pr
prune-tags-regexes: ^main-
prune-untagged: true