This commit is contained in:
parent
4ea49656e5
commit
fef5b172b1
@ -3,7 +3,7 @@ kind: pipeline
|
|||||||
name: "shuttle-drone-templates"
|
name: "shuttle-drone-templates"
|
||||||
steps:
|
steps:
|
||||||
- name: "build"
|
- name: "build"
|
||||||
image: docker.io/kasperhermansen/shuttle-drone:1680893195675
|
image: docker.io/kasperhermansen/shuttle-drone:1680893274918
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run
|
path: /var/run
|
||||||
|
@ -81,7 +81,7 @@ func Build(ctx context.Context) error {
|
|||||||
}).
|
}).
|
||||||
From("debian").
|
From("debian").
|
||||||
WithWorkdir("/app").
|
WithWorkdir("/app").
|
||||||
WithDirectory("/usr/local/go", golangDir).
|
WithDirectory("/usr/local/bin/go", golangDir).
|
||||||
WithFile("/usr/local/bin/shuttle", shuttle).
|
WithFile("/usr/local/bin/shuttle", shuttle).
|
||||||
WithExec([]string{"shuttle", "version"})
|
WithExec([]string{"shuttle", "version"})
|
||||||
if _, err := image.ExitCode(ctx); err != nil {
|
if _, err := image.ExitCode(ctx); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user