Skip to content

multi-platform build docker action #17

multi-platform build docker action

multi-platform build docker action #17

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: ghcr actions
on:
schedule:
- cron: "21 21 * * *"
jobs:
clean-ghcr:
name: Delete old unused container images
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: downcase REPO name
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Delete 'PR' containers older than a week
uses: snok/[email protected]
with:

Check failure on line 24 in .github/workflows/clean-containers.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/clean-containers.yaml

Invalid workflow file

You have an error in your yaml syntax on line 24
image-names: ${{ env.REGISTRY }}/${{ env.REPO }}
filter-tags: "sha-*", "sha256:*"
cut-off: A week ago UTC
account-type: org
org-name: ${{ github.repository_owner }}
keep-at-least: 1
token: ${{ secrets.GH_REPO_TOKEN }}
timestamp-to-use: updated_at