Skip to content

Release Cache

Release Cache #13

Workflow file for this run

name: 'Release Cache'
on:
schedule:
# Once a month, second day of month
- cron: '0 0 2 * *'
jobs:
auto-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set tag
run: |
today=$(printf '%(%Y-%m)T\n' -1)
echo $today
echo "tag=${today}" >> ${GITHUB_ENV}
- name: Tag and Release
uses: avakar/tag-and-release@8f4b627f03fe59381267d3925d39191e27f44236
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.tag }}
release_name: SHPC Registry Cache ${{ env.tag }}
body: "These container cache records were generated before the start of ${{ env.tag }}"