diff --git a/actions/build.go b/actions/build.go index b3a616b..c748d8f 100644 --- a/actions/build.go +++ b/actions/build.go @@ -98,6 +98,8 @@ func Build(ctx context.Context) error { WithEnvVariable( "PATH", fmt.Sprintf("/usr/local/cargo/bin:%s", path), ). + WithExec([]string{"rustup", "toolchain", "install", "nightly"}). + WithExec([]string{"rustup", "default", "nightly"}). WithWorkdir("/app"). WithFile("/usr/local/bin/shuttle", shuttle). WithExec([]string{"shuttle", "version"}) diff --git a/templates/shuttle-template.yaml b/templates/shuttle-template.yaml index fbde4f8..bd890c6 100644 --- a/templates/shuttle-template.yaml +++ b/templates/shuttle-template.yaml @@ -19,7 +19,7 @@ steps: - sleep 10 - echo "$${DOCKER_PASSWORD}" | docker login --password-stdin --username="$${DOCKER_USERNAME}" - name: "build" - image: docker.io/kasperhermansen/shuttle-drone:1683322851258 + image: docker.io/kasperhermansen/shuttle-drone:1683325750924 volumes: - name: dockersock path: /var/run