init
This commit is contained in:
commit
28740ea956
3 changed files with 31 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# sources
|
||||
kawipiko/
|
11
.ko.yaml
Normal file
11
.ko.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
builds:
|
||||
- id: wrapper
|
||||
dir: kawipiko/sources/
|
||||
main: ./cmd/wrapper.go
|
||||
binary: kawipiko
|
||||
flags:
|
||||
- -tags=netgo
|
||||
gcflags:
|
||||
- all=-l=4
|
||||
ldflags:
|
||||
- all=-s
|
18
Taskfile.yaml
Normal file
18
Taskfile.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
version: "3"
|
||||
|
||||
tasks:
|
||||
default:
|
||||
deps:
|
||||
- task: pull-code
|
||||
dir: kawipiko/sources
|
||||
cmds:
|
||||
- podman run --rm -it
|
||||
-v $(pwd):/work:Z --workdir=/work
|
||||
-e KO_DOCKER_REPO=gitea.nulo.in/nulo/kawipiko-container
|
||||
-v ~/.docker/:/docker-config:Z,ro
|
||||
-e DOCKER_CONFIG=/docker-config
|
||||
cgr.dev/chainguard/ko build ./cmd/wrapper --bare
|
||||
|
||||
pull-code:
|
||||
cmds:
|
||||
- curl -sSf https://gitea.nulo.in/Nulo/kawipiko/archive/encode-urls.tar.gz | tar -xz
|
Loading…
Reference in a new issue