Skip to content

Commit

Permalink
chore(docker): Adjust build frequency
Browse files Browse the repository at this point in the history
Intermediary Docker images will be built nightly at 04:00 and
be tagged as <VERSION>-SNAPSHOT.
Same to workflow_dispatch events.

Push tag events will tag Docker images to the release version.

Signed-off-by: Helio Chissini de Castro <[email protected]>
  • Loading branch information
heliocastro authored and tsteenbe committed Sep 29, 2023
1 parent f705d56 commit e3bbcdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-ort-runtime-ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ name: Docker extended runtime image

on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *'
pull_request:
paths:
- '.versions'
Expand All @@ -27,8 +29,6 @@ on:
- '.github/workflows/docker-ort-runtime.yml'
- '.github/workflows/docker-ort-runtime-ext.yml'
push:
branches:
- main
tags:
- '*'
workflow_run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-ort-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ name: Docker runtime image

on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *'
pull_request:
paths:
- '.versions'
- 'Dockerfile'
- '.github/workflows/docker-ort-runtime.yml'
push:
branches:
- main
tags:
- '*'

Expand Down

0 comments on commit e3bbcdb

Please sign in to comment.