Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
Add oras food (#84)
Browse files Browse the repository at this point in the history
* Create oras.lua

* Update oras.lua

* change release binary path
  • Loading branch information
jdolitsky authored and Matthew Fisher committed Jan 9, 2019
1 parent f1dedc5 commit d5bf010
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions Food/oras.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
local name = "oras"
local org = "shizhMSFT"
local version = "0.3.1"

food = {
name = name,
description = "OCI Registry As Storage",
license = "Apache-2.0",
homepage = "https://github.com/shizhMSFT/oras",
version = version,
packages = {
{
os = "linux",
arch = "amd64",
url = "https://github.com/" .. org .. "/" .. name .. "/releases/download/v" .. version .. "/" .. name .. "_" .. version .. "_linux_amd64.tar.gz",
sha256 = "86e92f19b4e16cdbb0aa19fea7d82c164c5925793038c3da4f7b467430c7faf8",
resources = {
{
path = name,
installpath = "bin/" .. name,
executable = true
}
}
},
{
os = "darwin",
arch = "amd64",
url = "https://github.com/" .. org .. "/" .. name .. "/releases/download/v" .. version .. "/" .. name .. "_" .. version .. "_darwin_amd64.tar.gz",
sha256 = "cf147ce9af41705c0d3ed685f29316260164f5bd093b186bd8714f31577bf91b",
resources = {
{
path = name,
installpath = "bin/" .. name,
executable = true
}
}
},
{
os = "windows",
arch = "amd64",
url = "https://github.com/" .. org .. "/" .. name .. "/releases/download/v" .. version .. "/" .. name .. "_" .. version .. "_windows_amd64.tar.gz",
sha256 = "b05f24a6c6d9baaced693caf930eca57134c1a1dc5d046a0ea118b1ab5b88527",
resources = {
{
path = name .. ".exe",
installpath = "bin\\" .. name .. ".exe"
}
}
}
}
}

0 comments on commit d5bf010

Please sign in to comment.