nightly #739
This file contains hidden or 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 | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # run at 02:30 UTC every night | |
| - cron: '30 2 * * *' | |
| jobs: | |
| build-toolkit: | |
| permissions: | |
| packages: write | |
| runs-on: ubuntu-24.04 | |
| env: | |
| PLATFORM: x86_64 | |
| TOOLKIT_REPO: ghcr.io/${{github.repository}}/elemental-cli | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: | | |
| git fetch --prune --unshallow | |
| - name: Log in to ghcr.io | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build toolkit | |
| run: | | |
| make DOCKER_ARGS=--push VERSION=nightly build |