diff --git a/.github/workflows/on_pr.yaml b/.github/workflows/on_pr.yaml index 6107533..19ba142 100644 --- a/.github/workflows/on_pr.yaml +++ b/.github/workflows/on_pr.yaml @@ -19,22 +19,6 @@ on: - "**.toml" jobs: - fmt: - name: Rustfmt - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4.1.3 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - run: rustup component add rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check - hadolint: name: "Linting: hadolint" runs-on: ubuntu-latest diff --git a/rootfs/rename_current_arch_binary.sh b/rootfs/rename_current_arch_binary.sh index 55a2785..3259894 100755 --- a/rootfs/rename_current_arch_binary.sh +++ b/rootfs/rename_current_arch_binary.sh @@ -5,7 +5,7 @@ set -x ls -la /opt/ # determine which binary to keep -if /opt/sdre-hub.amd64 --version > /dev/null 2>&1; then +if /opt/sdre-hub.amd64 --version; then mv -v /opt/sdre-hub.amd64 /opt/sdre-hub elif /opt/sdre-hub.arm64 --version > /dev/null 2>&1; then mv -v /opt/sdre-hub.arm64 /opt/sdre-hub