fixed substitution
This commit is contained in:
parent
f5ca313654
commit
7b07258411
2 changed files with 12 additions and 11 deletions
|
|
@ -60,7 +60,7 @@ jobs:
|
|||
run: |
|
||||
set -e
|
||||
IMAGE="result/vm-image.vma.zst"
|
||||
REMOTE_NAME="nixos-base-image-${steps.version.outputs.tag}.vma.zst"
|
||||
REMOTE_NAME="nixos-base-image-${{ steps.version.outputs.tag}}.vma.zst"
|
||||
REMOTE_PATH="/var/lib/vz/template/images/$REMOTE_NAME"
|
||||
|
||||
echo "Uploading $IMAGE to Proxmox as $REMOTE_NAME"
|
||||
|
|
@ -85,13 +85,13 @@ jobs:
|
|||
# ls -tp nixos-base-image-*.vma.zst | grep -v '/$' | tail -n +6 | xargs -r rm --
|
||||
# "
|
||||
|
||||
# - name: Create Forgejo Release (optional)
|
||||
# if: ${{ github.ref_type == 'tag' }}
|
||||
# uses: softprops/action-gh-release@v1
|
||||
# with:
|
||||
# name: "NixOS Base Image ${{ steps.version.outputs.tag }}"
|
||||
# tag_name: ${{ steps.version.outputs.tag }}
|
||||
# body: |
|
||||
# This release contains the NixOS base image for Proxmox labeled `${{ steps.version.outputs.tag }}`.
|
||||
# files: |
|
||||
# result/vm-image.vma.zst
|
||||
- name: Create Forgejo Release (optional)
|
||||
if: ${{ github.ref_type == 'tag' }}
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: "NixOS Base Image ${{ steps.version.outputs.tag }}"
|
||||
tag_name: ${{ steps.version.outputs.tag }}
|
||||
body: |
|
||||
This release contains the NixOS base image for Proxmox labeled `${{ steps.version.outputs.tag }}`.
|
||||
files: |
|
||||
result/vm-image.vma.zst
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICUP7m8jZJiclZGfSje8CeBYFhX10SrdtjYziuChmj1X plasmagoat@macbook-air"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGlzZWik5bbH6/xjiCpwo1SQSJ/J/Cv7y4ZQ45P68GLB forgejo-runner"
|
||||
"something"
|
||||
];
|
||||
|
||||
# Default filesystem on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue