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(
|
WithEnvVariable(
|
||||||
"PATH", fmt.Sprintf("/usr/local/cargo/bin:%s", path),
|
"PATH", fmt.Sprintf("/usr/local/cargo/bin:%s", path),
|
||||||
).
|
).
|
||||||
|
WithExec([]string{"rustup", "toolchain", "install", "nightly"}).
|
||||||
|
WithExec([]string{"rustup", "default", "nightly"}).
|
||||||
WithWorkdir("/app").
|
WithWorkdir("/app").
|
||||||
WithFile("/usr/local/bin/shuttle", shuttle).
|
WithFile("/usr/local/bin/shuttle", shuttle).
|
||||||
WithExec([]string{"shuttle", "version"})
|
WithExec([]string{"shuttle", "version"})
|
||||||
|
@ -19,7 +19,7 @@ steps:
|
|||||||
- sleep 10
|
- sleep 10
|
||||||
- echo "$${DOCKER_PASSWORD}" | docker login --password-stdin --username="$${DOCKER_USERNAME}"
|
- echo "$${DOCKER_PASSWORD}" | docker login --password-stdin --username="$${DOCKER_USERNAME}"
|
||||||
- name: "build"
|
- name: "build"
|
||||||
image: docker.io/kasperhermansen/shuttle-drone:1683322851258
|
image: docker.io/kasperhermansen/shuttle-drone:1683325750924
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run
|
path: /var/run
|
||||||
|
Loading…
Reference in New Issue
Block a user