wow
This commit is contained in:
parent
702f9cd8ea
commit
e782b40e51
1 changed files with 24 additions and 0 deletions
|
|
@ -114,3 +114,27 @@ jobs:
|
||||||
proxmox_host={{ env.PROXMOX_HOST }}
|
proxmox_host={{ env.PROXMOX_HOST }}
|
||||||
proxmox_user={{ env.PROXMOX_USER }}
|
proxmox_user={{ env.PROXMOX_USER }}
|
||||||
remote_image_path_ci={{ steps.build_image.outputs.image_path_from_build }}
|
remote_image_path_ci={{ steps.build_image.outputs.image_path_from_build }}
|
||||||
|
|
||||||
|
release:
|
||||||
|
name: Release Image
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: success()
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Download Artifact
|
||||||
|
id: artifact
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: nixos-base-image
|
||||||
|
|
||||||
|
- name: Create Forgejo Release
|
||||||
|
uses: https://code.forgejo.org/sheik/forgejo-release@v2.6.0
|
||||||
|
with:
|
||||||
|
title: "NixOS Base Image ${{ steps.version.outputs.tag }}"
|
||||||
|
prerelease: ${{ github.ref_type == 'tag' }}
|
||||||
|
tag: ${{ steps.version.outputs.tag }}
|
||||||
|
direction: upload
|
||||||
|
release-notes: |
|
||||||
|
This release contains the NixOS base image for Proxmox labeled `${{ steps.version.outputs.tag }}`.
|
||||||
|
release-dir: "${{ steps.artifact.outputs.download-path }}/nix-support"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue