feat: add nightly option
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0e914322f4
commit
dd4e6f6fcc
@ -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"})
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user