diff --git a/.forgejo/workflows/build-image.yml b/.forgejo/workflows/build-image.yml index 7a363da..4247050 100644 --- a/.forgejo/workflows/build-image.yml +++ b/.forgejo/workflows/build-image.yml @@ -103,12 +103,25 @@ jobs: proxmox_user={{ env.PROXMOX_USER }} remote_image_path_ci={{ steps.build_image.outputs.image_path_from_build }} + - name: Upload Artifact + uses: actions/upload-artifact@v3 + if: ${{ steps.build.outputs.image }} + with: + name: nixos-base-image + path: result + 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: Set VERSION from tag or fallback id: version run: | @@ -129,4 +142,4 @@ jobs: This release contains the NixOS base image for Proxmox labeled `${{ steps.version.outputs.tag }}`. Image uploaded as template on proxmox filename: `${{ needs.build.steps.build_image.outputs.image_path_from_build }}`. - release-dir: result/nix-support + release-dir: "${{ steps.artifact.outputs.download-path }}/nix-support"