back to basics

This commit is contained in:
plasmagoat 2025-06-09 19:31:19 +02:00
parent ed6564f212
commit 22847804ba
2 changed files with 5 additions and 2 deletions

View file

@ -122,7 +122,7 @@ jobs:
with: with:
name: nixos-base-image name: nixos-base-image
- name: Set VERSION from tag or fallback - name: Set version
id: version id: version
run: | run: |
if [[ "${{ github.ref_type }}" == "tag" ]]; then if [[ "${{ github.ref_type }}" == "tag" ]]; then
@ -130,6 +130,9 @@ jobs:
else else
TAG_NAME="dev-$(date +%Y%m%d)-${GITHUB_SHA::7}" TAG_NAME="dev-$(date +%Y%m%d)-${GITHUB_SHA::7}"
fi fi
echo "Ref Type: ${{ github.ref_type }}"
echo "Ref Name: ${{ github.ref_name }}"
echo "Version: $TAG_NAME"
echo "tag_name=$TAG_NAME" >> "$GITHUB_OUTPUT" echo "tag_name=$TAG_NAME" >> "$GITHUB_OUTPUT"
- name: Parse image filename - name: Parse image filename

View file

@ -11,7 +11,7 @@ jobs:
name: Build NixOS Base Image name: Build NixOS Base Image
# Ensure 'nixos-latest' runner has Docker, SSH client, and basic Nix tools installed. # Ensure 'nixos-latest' runner has Docker, SSH client, and basic Nix tools installed.
# It seems it already does. # It seems it already does.
runs-on: nixos-custom runs-on: nixos-latest
env: env:
NIXOS_BUILER_HOST: nixos-builder.lab NIXOS_BUILER_HOST: nixos-builder.lab
NIXOS_BUILER_USER: runner NIXOS_BUILER_USER: runner