Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
43a1223
Add main filter to PR CI image builds
TimPansino Mar 10, 2026
af8e157
Add github CI image cleanup job
TimPansino Mar 10, 2026
9baa757
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 12, 2026
16c81b8
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 12, 2026
c66ac53
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 12, 2026
eb67131
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 18, 2026
58300e4
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 19, 2026
533f0ef
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 23, 2026
db98378
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 23, 2026
69f1b41
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 24, 2026
ac26138
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 25, 2026
2da157b
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 26, 2026
0f750a1
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 26, 2026
2743962
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 27, 2026
dd8fc71
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 30, 2026
ca11b72
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 30, 2026
11d4114
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 30, 2026
88e9458
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 30, 2026
7cc6fcb
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 30, 2026
4a7e5b1
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Mar 31, 2026
f591494
Merge branch 'main' into add-github-container-cleanup
mergify[bot] Apr 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build-ci-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ on:
paths:
- ".github/containers/**"
- ".github/workflows/build-ci-image.yml"
branches:
- main
push: # Trigger rebuilds when pushing relevant files to main.
paths:
- ".github/containers/**"
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/delete-ci-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Copyright 2010 New Relic, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
name: Delete CI Images

on:
schedule:
- cron: "15 17 1 * *" # At 17:15 UTC on the 1st day of every month
workflow_dispatch: # Allow manual trigger
inputs:
dry-run:
description: "Dry run mode"
required: false
default: false
type: boolean

permissions:
contents: read
packages: write

concurrency:
group: ${{ github.workflow }} # Only 1 job ever allowed at a time
cancel-in-progress: true

jobs:
ghcr-cleanup-image:
name: ghcr cleanup action
runs-on: ubuntu-latest
steps:
- uses: dataaxiom/ghcr-cleanup-action@cd0cdb900b5dbf3a6f2cc869f0dbb0b8211f50c4 # 1.0.16
with:
package: newrelic-python-agent-ci
exclude-tags: latest
delete-untagged: true
delete-ghost-images: true
delete-partial-images: true
delete-orphaned-images: true
older-than: 90 days
validate: true
dry-run: ${{ inputs.dry-run }}
Loading