Skip to content

Commit

Permalink
chore: test dockerhub with cross-only
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorfdl committed Jun 22, 2024
1 parent 4e39f86 commit aa554d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ jobs:
run: touch .env

- name: Install cross (Linux ARM64 only)
if: matrix.config.platform != 'x86_64-unknown-linux-gnu'
if: matrix.config.target != 'x86_64-unknown-linux-gnu'
run: cargo install cross --git https://github.com/cross-rs/cross

- name: Build Binary
if: matrix.config.platform != 'x86_64-unknown-linux-gnu'
if: matrix.config.target != 'x86_64-unknown-linux-gnu'
run: cross build --locked --release --target ${{ matrix.config.target }}

- name: Build Binary (Linux x86_64)
if: matrix.config.platform == 'x86_64-unknown-linux-gnu'
if: matrix.config.target == 'x86_64-unknown-linux-gnu'
run: cargo build --locked --release --target ${{ matrix.config.target }}

# - name: Run Tests
Expand Down

0 comments on commit aa554d5

Please sign in to comment.