Skip to content

Commit 00ec4ba

Browse files
Lawrence GripperpjquirkSteve-Glasssubatoi
authored
Recommend scheduled workflows for image generation (#59090)
Co-authored-by: PJ Quirk <pjquirk@github.com> Co-authored-by: Steve-Glass <84886334+Steve-Glass@users.noreply.github.com> Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
1 parent 2820355 commit 00ec4ba

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

content/actions/how-tos/manage-runners/larger-runners/use-custom-images.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ To configure a workflow for image generation:
5757
* Each job that includes the `snapshot` keyword creates a separate image. To generate only one image or image version, include all workflow steps in a single job.
5858
* Each successful run of a job that includes the `snapshot` keyword creates a new version of that image.
5959

60+
> [!NOTE]
61+
> {% data variables.product.company_short %} recommends configuring image generation as a scheduled workflow on a weekly basis. This approach ensures dependencies remain up-to-date and have the latest security patches. For more information, see [AUTOTITLE](/actions/using-workflows/events-that-trigger-workflows#schedule).
62+
6063
It can take some time for your image to be fully generated and ready to use after the workflow completes. Provisioning time varies based on runner size and configuration, and may take several hours for larger runners.
6164

6265
The image is generated only when the job completes successfully. This prevents new image versions from being created when a workflow fails or ends in an incomplete state.

0 commit comments

Comments
 (0)