From 795915628b2aa764edb0d56a506ca71a188d6008 Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Thu, 15 Aug 2024 10:48:58 +1200 Subject: [PATCH] update --- .github/workflows/docker.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6fff531..c4ebff2 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -9,7 +9,7 @@ on: jobs: docker: - runs-on: ubuntu-latest + runs-on: [self-hosted, linux] steps: - name: Login to Docker Hub uses: docker/login-action@v3 diff --git a/Dockerfile b/Dockerfile index f4f2a93..b4b7c4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ LABEL maintainer="hello@acala.network" COPY --from=builder /acala/target/release/acala /usr/local/bin USER root -RUN useradd -m -u 1001 -U -s /bin/sh -d /acala acala && \ +RUN useradd -m -u 1000 -U -s /bin/sh -d /acala acala && \ mkdir -p /acala/data /acala/.local/share && \ chown -R acala:acala /acala/data && \ ln -s /acala/data /acala/.local/share/acala && \