Nightly master build and publish #960
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
name: Nightly master build and publish | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
build: | |
name: "Nightly build and publish release container" | |
runs-on: ubuntu-20.04 | |
if: github.repository == 'hpcc-systems/HPCC-Platform' | |
steps: | |
- name: Free additional disk space (remove Android SDK + Tools) | |
run: | | |
sudo rm -rf /usr/local/lib/android | |
- name: vars | |
id: vars | |
run: | | |
echo "::set-output name=date::$(date +'%Y-%m-%d')" | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build | |
uses: ./dockerfiles | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
build_ver: "master" | |
build_label: "master-${{ steps.vars.outputs.date }}" | |