fix: fixed ignite variable resolutions #2083
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: Build and Release | |
| on: | |
| workflow_dispatch: | |
| push: | |
| env: | |
| CACHE_PATH: ${{secrets.SERVER_REPO_PATH}} | |
| OSTREE_REPO: ${{secrets.OSTREE_REPO}} | |
| OSTREE_GPG: ${{secrets.OSTREE_GPG}} | |
| VERSION: ${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || 'continuous' }} | |
| CHANNEL: ${{ endsWith(github.ref, 'stable') && 'stable' || 'unstable' }} | |
| OSTREE_BRANCH: "x86_64/os/${{ endsWith(github.ref, 'stable') && 'stable' || 'unstable' }}" | |
| SIGN_KEYS_PATH: ${{secrets.SIGN_KEYS_PATH}} | |
| jobs: | |
| build: | |
| name: Build Collection | |
| runs-on: self-hosted | |
| timeout-minutes: 47000 | |
| steps: | |
| - uses: actions/checkout@v1 | |
| with: | |
| token: ${{ secrets.CI_TOKEN }} | |
| submodules: true | |
| - name: Add sign keys | |
| run: rm -rf files/sign-keys && cp -r ${SIGN_KEYS_PATH} files/sign-keys | |
| - name: Write changelog | |
| run: echo -e "${{ github.event.head_commit.message }}" > ChangeLog | |
| - name: Build Installer ISO | |
| run: make ELEMENT=installer/image.yml | |
| - name: Checkout installer iso | |
| run: | | |
| mkdir -p ${CACHE_PATH}/releases/${CHANNEL}/ | |
| make checkout ELEMENT=installer/image.yml DESTDIR=${CACHE_PATH}/releases/${CHANNEL}/ | |
| - name: Update Ostree | |
| run: make ELEMENT=system/repo.yml update-ostree | |
| - name: Update extensions | |
| run: make extensions |