without dind
This commit is contained in:
parent
a42cce9b8c
commit
7cb736fa33
@ -24,7 +24,6 @@ func main() {
|
||||
},
|
||||
BuildPath: "main.go",
|
||||
BinName: "dagger-go",
|
||||
BaseImage: "harbor.front.kjuulh.io/docker-proxy/library/docker:dind",
|
||||
}).
|
||||
Execute(ctx)
|
||||
|
||||
|
@ -1,4 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
drone template add --namespace kjuulh --name dagger_go_template.yaml --data @dagger_go_template.yaml || true
|
||||
drone template update --namespace kjuulh --name dagger_go_template.yaml --data @dagger_go_template.yaml
|
||||
function add_template() {
|
||||
namespace=$1
|
||||
name=$2
|
||||
drone template add --namespace "${namespace}" --name "${name}" --data "@${name}" 2&> /dev/null || true
|
||||
drone template update --namespace "${namespace}" --name "${name}" --data "@${name}"
|
||||
}
|
||||
|
||||
add_template kjuulh dagger_go_template.yaml
|
||||
add_template kjuulh gobin_default_template.yaml
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user