mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-02 03:48:09 +00:00
added schedule
This commit is contained in:
9
.github/workflows/nightly.yml
vendored
9
.github/workflows/nightly.yml
vendored
@@ -2,11 +2,12 @@ name: nightly build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '15 0 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: 4c74356b41/cloud-sdk-nightly
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -17,9 +18,11 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: Telecominfraproject/wlan-lanforge-scripts
|
repository: Telecominfraproject/wlan-lanforge-scripts
|
||||||
token: ${{ secrets.GitHub_PAT }} # `GitHub_PAT` is a secret that contains your PAT
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
path: wlan-LANforge-scripts
|
path: wlan-LANforge-scripts
|
||||||
|
|
||||||
- name: build docker image
|
- name: build docker image
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ls -Rla; docker build -t tip/nightly -f wlan-testing/docker/Dockerfile
|
run: |
|
||||||
|
ls -Rla
|
||||||
|
docker build -t tip/nightly -f wlan-testing/docker/Dockerfile .
|
||||||
|
|||||||
Reference in New Issue
Block a user