Skip to content

Promote Image to registry.k8s.io #4

Promote Image to registry.k8s.io

Promote Image to registry.k8s.io #4

Workflow file for this run

name: Promote Image to registry.k8s.io
on:
schedule:
- cron: '0 16 * * *' # Run every day at GMT+8 midnight
workflow_dispatch: # Use for manaully trigger to debug
jobs:
release:
runs-on: ubuntu-latest
steps:
# This step uses Github's checkout-action: https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Run kpromo command to promote image to registry.k8s.io
run: |
./hack/kpromo.sh
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"