mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
+github.com/regclient/regclient (#3479)
* +github.com/regclient/regclient * Split in three packages
This commit is contained in:
parent
4fa1a85aff
commit
fa40974133
3 changed files with 77 additions and 0 deletions
25
projects/github.com/regclient/regclient/regbot/package.yml
Normal file
25
projects/github.com/regclient/regclient/regbot/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
distributable:
|
||||||
|
url: git+https://github.com/regclient/regclient
|
||||||
|
ref: v{{ version }}
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: regclient/regclient/releases/tags
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/regbot
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
curl.se/ca-certs: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: ^1.21
|
||||||
|
git-scm.org: '*'
|
||||||
|
script: |
|
||||||
|
make bin/regbot
|
||||||
|
mkdir -p '{{ prefix }}/bin'
|
||||||
|
mv -f ./bin/regbot '{{ prefix }}/bin'
|
||||||
|
|
||||||
|
test:
|
||||||
|
script: |
|
||||||
|
regbot version | tee /dev/stderr | grep -q -w "v{{ version }}"
|
27
projects/github.com/regclient/regclient/regctl/package.yml
Normal file
27
projects/github.com/regclient/regclient/regctl/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
distributable:
|
||||||
|
url: git+https://github.com/regclient/regclient
|
||||||
|
ref: v{{ version }}
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: regclient/regclient/releases/tags
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/regctl
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
curl.se/ca-certs: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: ^1.21
|
||||||
|
git-scm.org: '*'
|
||||||
|
script: |
|
||||||
|
make bin/regctl
|
||||||
|
mkdir -p '{{ prefix }}/bin'
|
||||||
|
mv -f ./bin/regctl '{{ prefix }}/bin'
|
||||||
|
|
||||||
|
test:
|
||||||
|
script: |
|
||||||
|
regctl version | tee /dev/stderr | grep -q -w "v{{ version }}"
|
||||||
|
|
||||||
|
regctl image inspect hello-world --platform linux/amd64 | tee /dev/stderr | grep -q -w '"Image":'
|
25
projects/github.com/regclient/regclient/regsync/package.yml
Normal file
25
projects/github.com/regclient/regclient/regsync/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
distributable:
|
||||||
|
url: git+https://github.com/regclient/regclient
|
||||||
|
ref: v{{ version }}
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: regclient/regclient/releases/tags
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/regsync
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
curl.se/ca-certs: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: ^1.21
|
||||||
|
git-scm.org: '*'
|
||||||
|
script: |
|
||||||
|
make bin/regsync
|
||||||
|
mkdir -p '{{ prefix }}/bin'
|
||||||
|
mv -f ./bin/regsync '{{ prefix }}/bin'
|
||||||
|
|
||||||
|
test:
|
||||||
|
script: |
|
||||||
|
regsync version | tee /dev/stderr | grep -q -w "v{{ version }}"
|
Loading…
Reference in a new issue