Skip to content

Commit

Permalink
fix: toolchain version docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
wischli committed Nov 13, 2023
1 parent 61fcacb commit 9dfdcfb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}${{ github.ref == '/refs/heads/main' && github.sha || 'false' }}
cancel-in-progress: true
env:
RUST_TOOLCHAIN: "1.66"
jobs:
docker:
strategy:
Expand All @@ -36,6 +34,12 @@ jobs:
docker volume ls
df -h
- name: Install toolchain from rust-toolchain.toml
shell: sh
run: |
TOOLCHAIN_VERSION=$(grep 'channel =' rust-toolchain.toml | awk -F'"' '{print $2}')
rustup toolchain install "$TOOLCHAIN_VERSION"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 #v3
- name: DockerHub Login
Expand Down

0 comments on commit 9dfdcfb

Please sign in to comment.