# SPDX-FileCopyrightText: © 2025 Hornwitser # SPDX-License-Identifier: AGPL-3.0-or-later on: push: env: REGISTRY_IMAGE: ${{ vars.REGISTRY }}/${{ github.repository }}:${{ github.ref_name }} jobs: build: runs-on: docker container: image: forge.hornwitser.no/public/builder:r2025.5.2 steps: - name: Authenticate with registry run: | echo "${{ secrets.REGISTRY_TOKEN }}" | podman login ${{ vars.REGISTRY }} --username runner --password-stdin - name: Checkout repository run: | git config --global credential.helper store echo "https://runner:${{ secrets.GITHUB_TOKEN }}@$(echo "${{ github.server_url }}" | cut -b 9-)" > ~/.git-credentials git clone --branch ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }} - name: Write build info shell: bash run: | cat > ${{ github.workspace }}/shared/utils/build-info.ts <