-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
- Loading branch information
Kenji Miyake
committed
Dec 1, 2022
1 parent
24b1d45
commit 75f04c8
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: build-rolling | ||
|
||
on: | ||
schedule: | ||
- cron: 0 12 * * * | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-rolling: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger workflow | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
github.rest.actions.createWorkflowDispatch({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
workflow_id: 'build-main.yaml', | ||
ref: 'rolling', | ||
}) | ||
build-rolling-self-hosted: | ||
runs-on: [self-hosted, linux, ARM64] | ||
steps: | ||
- name: Trigger workflow | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
github.rest.actions.createWorkflowDispatch({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
workflow_id: 'build-main-self-hosted.yaml', | ||
ref: 'rolling', | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: docker-build-and-push-rolling | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
- "[0-9]+.[0-9]+*" | ||
schedule: | ||
- cron: 0 0 1,15 * * | ||
workflow_dispatch: | ||
|
||
jobs: | ||
docker-build-and-push-rolling: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger workflow | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
github.rest.actions.createWorkflowDispatch({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
workflow_id: 'docker-build-and-push-main.yaml', | ||
ref: 'rolling', | ||
}) | ||
docker-build-and-push-rolling-self-hosted: | ||
runs-on: [self-hosted, linux, ARM64] | ||
steps: | ||
- name: Trigger workflow | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
github.rest.actions.createWorkflowDispatch({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
workflow_id: 'docker-build-and-push-main-self-hosted.yaml', | ||
ref: 'rolling', | ||
}) |