aks-engine/.github/workflows/nightly-build.yaml

33 строки
892 B
YAML

name: Nightly
on:
schedule:
- cron: '0 0 * * *' # Every day at midnight
workflow_dispatch:
jobs:
build:
if: github.repository == 'Azure/aks-engine'
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Make releases
run: |
docker run --rm \
-v ${GITHUB_WORKSPACE}:/go/src/github.com/Azure/aks-engine \
-w /go/src/github.com/Azure/aks-engine \
mcr.microsoft.com/oss/azcu/go-dev:v1.36.1 make dist
- name: Rename outputs
run: |
mkdir ./outputs
cp _dist/aks-engine-*-linux-amd64.tar.gz outputs/aks-engine-nightly-linux-amd64.tar.gz
- name: Update nightly release
uses: eine/tip@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: nightly
files: |
outputs/*