Add workflow and README file

This commit is contained in:
Greg Hellings
2022-05-04 09:00:17 -05:00
parent d32eec2031
commit dda70b6d32
3 changed files with 33 additions and 3 deletions
+9 -2
View File
@@ -59,6 +59,13 @@ variable "headless" {
locals {
name = "${var.distro}-${var.version}-${var.arch}"
build = formatdate("YYYYMMDDhh", timestamp())
description = templatefile("../README.box.md", {
distro = var.distro
arch = var.arch
version = var.version
build = local.build
})
}
source "qemu" "x86_64" {
@@ -106,8 +113,8 @@ build {
post-processor "vagrant-cloud" {
name = "upload"
box_tag = "greg-hellings/${local.name}"
version = "{{isotime \"2006010203\"}}"
version_description = templatefile("../README.box.md")
version = local.build
version_description = local.description
}
}
}