added schedule

This commit is contained in:
Gleb Boushev
2020-09-28 15:52:26 +03:00
parent 9e9208aca1
commit 281ba492fc

View File

@@ -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 .