Skip to content

Commit

Permalink
RUSTFLAGS + docker buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
shortishly committed Aug 21, 2024
1 parent e1b19ed commit 0b95e70
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,20 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy, rustfmt
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- run: |
echo "RUSTFLAGS=''" >> $GITHUB_ENV
- run: "echo \"DOCKER_IMAGE_TAGS=\
${{inputs.registry}}/${{github.repository}}:latest\"
>> $GITHUB_ENV"
- run: cargo build
- run: cargo test
- uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{env.DOCKER_IMAGE_TAGS}}

0 comments on commit 0b95e70

Please sign in to comment.