Skip to content
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

Added CI job to delete untagged images and give read access to run_all_benchmarks CI #43

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
18 changes: 18 additions & 0 deletions .github/workflows/create_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,21 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

delete-untagged-images:
name: Delete Untagged Images
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- uses: actions/delete-package-versions@v5
with:
owner: 'moveit'
package-name: 'moveit_middleware_benchmark'
package-type: 'container'
min-versions-to-keep: 5
delete-only-untagged-versions: 'true'
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions .github/workflows/run_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ jobs:
permissions:
contents: write
deployments: write
packages: read
container:
image: ghcr.io/moveit/moveit_middleware_benchmark:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: run benchmarks for rmw_fastrtps
run: |
Expand Down
Loading