Skip to content

Commit

Permalink
chore: update rust to 1.78.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leon3s committed May 3, 2024
1 parent 98cd789 commit 3e775b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
- name: Create new draft release
if: steps.release-exists.outcome == 'failure' && steps.release-exists.conclusion == 'success'
run: gh release create -t $VERSION-$CHANNEL -d $VERSION-$CHANNEL
run: gh release create -t $VERSION-$CHANNEL -d $VERSION-$CHANNEL -F ./bin/metrsd/CHANGELOG.md
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# stage 1 - Setup cargo-chef
FROM --platform=$BUILDPLATFORM rust:1.75.0-alpine3.19 as planner
FROM --platform=$BUILDPLATFORM rust:1.78.0-alpine3.19 as planner

WORKDIR /app
RUN apk add gcc g++ make
Expand All @@ -13,7 +13,7 @@ COPY ./bin/metrsd/Cargo.toml ./bin/metrsd/Cargo.toml
RUN cargo chef prepare --recipe-path recipe.json --bin ./bin/metrsd

# stage 2 - Cook our dependencies
FROM --platform=$BUILDPLATFORM rust:1.75.0-alpine3.19 as cacher
FROM --platform=$BUILDPLATFORM rust:1.78.0-alpine3.19 as cacher

WORKDIR /app
COPY --from=planner /usr/local/cargo/bin/cargo-chef /usr/local/cargo/bin/cargo-chef
Expand All @@ -24,7 +24,7 @@ RUN export ARCH=$(uname -m) \
&& cargo chef cook --release --target=$ARCH-unknown-linux-musl --recipe-path recipe.json --bin metrsd

# stage 3 - Build our project
FROM --platform=$BUILDPLATFORM rust:1.75.0-alpine3.19 as builder
FROM --platform=$BUILDPLATFORM rust:1.78.0-alpine3.19 as builder

## Build our metrs daemon binary
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.67.0-alpine3.17
FROM rust:1.78.0-alpine3.19

RUN apk add musl-dev make
RUN cargo install cargo-watch
Expand Down

0 comments on commit 3e775b7

Please sign in to comment.