Skip to content

Commit

Permalink
github action: fix readsb version to include git commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Jan 4, 2025
1 parent 2f7a72e commit 48ef3c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ jobs:
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
build-args: |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=true
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SHELL ["/bin/bash", "-x", "-o", "pipefail", "-c"]
RUN --mount=type=bind,source=.,target=/app/git \
cd /app/git && \
READSB_BUILD_DIR=$(mktemp -d) && \
cp -r /app/git/* $READSB_BUILD_DIR && \
cp -aT /app/git $READSB_BUILD_DIR && \
cd $READSB_BUILD_DIR && \
[[ $(uname -m) == x86_64 ]] && MARCH=" -march=nehalem" || MARCH="" && \
make -j$(nproc) RTLSDR=yes OPTIMIZE="-O2 $MARCH" && \
Expand Down

0 comments on commit 48ef3c0

Please sign in to comment.