Skip to content

mirror

mirror #64

Workflow file for this run

name: mirror
# Mirrors envoyproxy/envoy releases to ghcr.io/yolean/envoy.
# Runs unconditionally — never blocked by echo build/verify (separate workflow).
on:
schedule:
- cron: "1 3 * * *" # 03:01 UTC daily
push:
branches: [main]
paths:
- mirror.sh
- .github/workflows/mirror.yaml
workflow_dispatch:
inputs:
min_version:
description: 'Minimum envoy version to mirror (e.g. 1.38.0)'
required: false
default: '1.38.0'
jobs:
mirror:
name: Mirror upstream releases
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: imjasonh/setup-crane@v0.4
- name: Login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run mirror
env:
MIN_VERSION: ${{ github.event.inputs.min_version || '1.38.0' }}
run: ./mirror.sh