Nightly release #1353
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 release | |
| # # Pushes `nightly` image tag as scheduled. | |
| on: | |
| schedule: | |
| - cron: "0 4 * * *" | |
| permissions: | |
| contents: read | |
| jobs: | |
| version: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| version: ${{ steps.release-variables.outputs.version }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Configurator version | |
| id: release-variables | |
| run: | | |
| echo version=nightly-$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT | |
| build-push: | |
| name: Build and Push images to Docker Hub | |
| needs: version | |
| uses: ./.github/workflows/_push_image.yaml | |
| with: | |
| version: ${{needs.version.outputs.version}} | |
| image-tag: nightly | |
| push-latest: false | |
| secrets: inherit |