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