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 d8c3a82 commit bcd4ff4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ jobs:
- name: Create empty .env file
run: touch .env

- name: Install cross (Linux ARM64 only)
- name: Install cross (Linux ARM64 and musl only)
if: matrix.config.target != 'x86_64-unknown-linux-gnu'
run: cargo install cross

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

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

Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: build
pattern: debian-*
pattern: ${{ matrix.dist }}-*
merge-multiple: true

- name: List files
Expand Down

0 comments on commit bcd4ff4

Please sign in to comment.