Skip to content

Commit 639f06e

Browse files
committed
update example
1 parent a9ac81c commit 639f06e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

example.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11

2-
name: Example Image Builder - Uvicorn
2+
name: Example Image Builder
33

4-
on: [push]
4+
# Publish on new pushed, and build on Monday Morning (UTC) regardless.
5+
on:
6+
push:
7+
branches:
8+
- 'main'
9+
schedule:
10+
- cron: '4 0 * * MON'
511

612
jobs:
713
Uvicorn-Builder:
@@ -13,6 +19,10 @@ jobs:
1319
package_versions: ["0.12.1", "0.12.2", "0.12.3", "0.13.0", "0.13.1", "0.13.2", "0.13.3", "0.13.4", "0.14.0", "0.15.0"]
1420
target_base: ["full", "slim", "alpine"]
1521
steps:
22+
23+
- name: Checkout repository
24+
uses: actions/checkout@v2
25+
1626
- name: "Create and push"
1727
uses: multi-py/action-python-image-builder@main
1828
with:

0 commit comments

Comments
 (0)