Skip to content

Commit ae491c2

Browse files
committed
Remove arm
1 parent 6494bd2 commit ae491c2

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/call-build-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
app_name: "simplelogin"
1515
release_type: "github"
1616
release_url: "https://api.github.com/repos/simple-login/app"
17-
target-arch: "64"
17+
target-arch: "amd64"
1818
secrets:
1919
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}

.github/workflows/call-check-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
app_name: "simplelogin"
1414
release_type: "github"
1515
release_url: "https://api.github.com/repos/simple-login/app"
16-
target-arch: "64"
16+
target-arch: "amd64"
1717
secrets:
1818
repo_release_token: ${{ secrets.repo_release_token }}

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ COPY --from=buildstage /simplelogin/ /code/
4141

4242
WORKDIR /code
4343

44-
ENV PATH="/usr/bin:/code/.venv/bin:$PATH"
44+
ENV PATH="$HOME/.local/bin:/code/.venv/bin:$PATH"
4545

4646
# Install deps
4747
RUN \
@@ -53,11 +53,8 @@ RUN \
5353
pkg-config \
5454
ninja-build \
5555
clang && \
56-
export ARCH=$(uname -m) && \
57-
curl -o /tmp/uv.tar.gz -sL "https://github.com/astral-sh/uv/releases/latest/download/uv-${ARCH}-unknown-linux-gnu.tar.gz" && \
58-
tar xzf /tmp/uv.tar.gz -C /tmp/ && \
59-
mv /tmp/uv-${ARCH}-unknown-linux-gnu/uv /usr/bin/uv && \
60-
mv /tmp/uv-${ARCH}-unknown-linux-gnu/uvx /usr/bin/uvx && \
56+
curl -o /tmp/uv-installer.sh -L https://astral.sh/uv/install.sh && \
57+
sh /tmp/uv-installer.sh && \
6158
uv python install `cat .python-version` && \
6259
uv sync --locked && \
6360
echo "**** install runtime packages ****" && \

0 commit comments

Comments
 (0)