too large?
This commit is contained in:
parent
3ee730c44d
commit
98a30f1c84
1 changed files with 11 additions and 10 deletions
|
|
@ -24,15 +24,6 @@ jobs:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set VERSION from tag or fallback
|
|
||||||
id: version
|
|
||||||
run: |
|
|
||||||
if [ -n "${CI_COMMIT_TAG}" ]; then
|
|
||||||
echo "tag=${CI_COMMIT_TAG}" >> $GITHUB_OUTPUT
|
|
||||||
else
|
|
||||||
echo "tag=dev-$(date +%s)" >> $GITHUB_OUTPUT
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Enable experimental features
|
- name: Enable experimental features
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.config/nix
|
mkdir -p ~/.config/nix
|
||||||
|
|
@ -88,15 +79,25 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: nixos-base-image
|
name: nixos-base-image
|
||||||
|
|
||||||
|
- name: Set VERSION from tag or fallback
|
||||||
|
id: version
|
||||||
|
run: |
|
||||||
|
if [ -n "${CI_COMMIT_TAG}" ]; then
|
||||||
|
echo "tag=${CI_COMMIT_TAG}" >> $GITHUB_OUTPUT
|
||||||
|
else
|
||||||
|
echo "tag=dev-$(date +%s)" >> $GITHUB_OUTPUT
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Create Forgejo Release
|
- name: Create Forgejo Release
|
||||||
uses: https://code.forgejo.org/sheik/forgejo-release@v2.6.0
|
uses: https://code.forgejo.org/sheik/forgejo-release@v2.6.0
|
||||||
with:
|
with:
|
||||||
title: "NixOS Base Image ${{ steps.version.outputs.tag }}"
|
title: "NixOS Base Image ${{ steps.version.outputs.tag }}"
|
||||||
prerelease: ${{ github.ref_type == 'tag' }}
|
prerelease: ${{ github.ref_type == 'tag' }}
|
||||||
|
tag: ${{ steps.version.outputs.tag }}
|
||||||
direction: upload
|
direction: upload
|
||||||
release-notes: |
|
release-notes: |
|
||||||
This release contains the NixOS base image for Proxmox labeled `${{ steps.version.outputs.tag }}`.
|
This release contains the NixOS base image for Proxmox labeled `${{ steps.version.outputs.tag }}`.
|
||||||
# release-dir: ${{ steps.artifact.outputs.download-path }}
|
release-dir: "${{ steps.artifact.outputs.download-path }}/nix-support"
|
||||||
|
|
||||||
- name: Upload image to Proxmox and manage templates
|
- name: Upload image to Proxmox and manage templates
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue