From 33b4c4bea8edf1c4db106fa19c3f7887e5c09b6b Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Sun, 17 Sep 2023 21:33:52 +0200 Subject: [PATCH] [no ci] Enable cron copy of large images --- .github/workflows/copy-full-image.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/copy-full-image.yml b/.github/workflows/copy-full-image.yml index 6b642c5..905efc4 100644 --- a/.github/workflows/copy-full-image.yml +++ b/.github/workflows/copy-full-image.yml @@ -5,7 +5,9 @@ on: inputs: version: type: string - default: 20230903.1.0 + default: latest + schedule: + - cron: 0 12 */7 * * env: SLUG: ${{ github.repository_owner }}/ubuntu @@ -26,11 +28,11 @@ jobs: max-parallel: 1 matrix: copy: - - src: ghcr.io/christopherhx/runner-images:ubuntu22-runner-usr-local-opt-snap-${{ inputs.version }} + - src: ghcr.io/christopherhx/runner-images:ubuntu22-runner-large-${{ inputs.version || 'latest' }} dest: full-latest - - src: ghcr.io/christopherhx/runner-images:ubuntu22-runner-usr-local-opt-snap-${{ inputs.version }} + - src: ghcr.io/christopherhx/runner-images:ubuntu22-runner-large-${{ inputs.version || 'latest' }} dest: full-22.04 - - src: ghcr.io/christopherhx/runner-images:ubuntu20-runner-usr-local-opt-snap-${{ inputs.version }} + - src: ghcr.io/christopherhx/runner-images:ubuntu20-runner-large-${{ inputs.version || 'latest' }} dest: full-20.04 steps: - name: Force SLUG to lowercase