diff --git a/.github/workflows/build-dockerhub.yml b/.github/workflows/build-dockerhub.yml index d34d466..5255cab 100644 --- a/.github/workflows/build-dockerhub.yml +++ b/.github/workflows/build-dockerhub.yml @@ -17,9 +17,9 @@ jobs: matrix: config: - { platform: linux-amd64, dist: "debian", target: x86_64-unknown-linux-gnu } - - { platform: linux-arm64-v8, dist: "debian", target: aarch64-unknown-linux-gnu } + - { platform: linux-arm64, dist: "debian", target: aarch64-unknown-linux-gnu } - { platform: linux-amd64, dist: "alpine", target: x86_64-unknown-linux-musl } - - { platform: linux-arm64-v8, dist: "alpine", target: aarch64-unknown-linux-musl } + - { platform: linux-arm64, dist: "alpine", target: aarch64-unknown-linux-musl } environment: PROD env: CARGO_SERVER_SSL_CA: ${{ secrets.SERVER_SSL_CA }} diff --git a/build/Dockerfile.alpine b/build/Dockerfile.alpine index 2f76e0f..2c70551 100644 --- a/build/Dockerfile.alpine +++ b/build/Dockerfile.alpine @@ -15,9 +15,9 @@ COPY /alpine-* . # Rename the correct executable based on the platform RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \ - mv alpine-linux-amd64 tagoio-relay; \ + mv ./alpine-linux-amd64 tagoio-relay; \ elif [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \ - mv alpine-linux-arm64 tagoio-relay; \ + mv ./alpine-linux-arm64 tagoio-relay; \ else \ echo "Unsupported platform: ${TARGETPLATFORM}"; \ exit 1; \ diff --git a/build/Dockerfile.debian b/build/Dockerfile.debian index 9221721..777a2fe 100644 --- a/build/Dockerfile.debian +++ b/build/Dockerfile.debian @@ -16,7 +16,7 @@ COPY /debian-* . RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \ mv ./debian-linux-amd64 tagoio-relay; \ elif [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \ - mv ./debian-linux-arm64-v8 tagoio-relay; \ + mv ./debian-linux-arm64 tagoio-relay; \ else \ echo "Unsupported platform: ${TARGETPLATFORM}"; \ exit 1; \