Skip to content

Commit

Permalink
Docker build clean up workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Nov 20, 2023
1 parent 1372329 commit 46e9067
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
target: [ release, test ]
runs-on: ubuntu-latest-8-cores
runs-on: ubuntu-latest-4-cores
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4
with:
Expand All @@ -34,12 +34,6 @@ 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 All @@ -64,7 +58,7 @@ jobs:
type=semver,pattern={{major}},prefix=${{ matrix.target == 'test' && 'test-' || '' }},suffix=
type=edge
- name: Configure sccache
- name: Configure GHA cache
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 #v6
with:
script: |
Expand Down

0 comments on commit 46e9067

Please sign in to comment.