From fef5b172b116333aaf847759f539cf0998bb6811 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 7 Apr 2023 20:48:24 +0200 Subject: [PATCH] feat: update drone --- .drone.yml | 2 +- shuttletask/build.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index e4184fb..12bc6a5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ kind: pipeline name: "shuttle-drone-templates" steps: - name: "build" - image: docker.io/kasperhermansen/shuttle-drone:1680893195675 + image: docker.io/kasperhermansen/shuttle-drone:1680893274918 volumes: - name: dockersock path: /var/run diff --git a/shuttletask/build.go b/shuttletask/build.go index bf2b9e6..02fb81b 100644 --- a/shuttletask/build.go +++ b/shuttletask/build.go @@ -81,7 +81,7 @@ func Build(ctx context.Context) error { }). From("debian"). WithWorkdir("/app"). - WithDirectory("/usr/local/go", golangDir). + WithDirectory("/usr/local/bin/go", golangDir). WithFile("/usr/local/bin/shuttle", shuttle). WithExec([]string{"shuttle", "version"}) if _, err := image.ExitCode(ctx); err != nil {