feat: add nightly option
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2023-05-06 00:38:25 +02:00
parent 0e914322f4
commit dd4e6f6fcc
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
2 changed files with 3 additions and 1 deletions

View File

@ -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"})

View File

@ -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