From f921d613013748e3cc6d1cc04870ddfbdf33d1ee Mon Sep 17 00:00:00 2001 From: Ryo Igarashi Date: Fri, 11 Oct 2024 12:35:45 +0900 Subject: [PATCH] Use Mastodon 4.2.7 --- .github/workflows/publish.yaml | 4 ++-- Dockerfile | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f1fc545..f10fb10 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -18,7 +18,7 @@ jobs: repository: mastodon/mastodon path: ./mastodon fetch-depth: 1 - ref: "v4.2.0-beta2" + ref: "v4.2.7" - name: Set up QEMU uses: docker/setup-qemu-action@v2 @@ -37,4 +37,4 @@ jobs: with: context: . push: true - tags: neetshin/mastodon-dev:4.2.0-beta2 + tags: neetshin/mastodon-dev:latest diff --git a/Dockerfile b/Dockerfile index 9e77164..fe3bddc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,8 +54,7 @@ RUN bundle config git.allow_insecure true \ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ && apt-get install -y nodejs -RUN corepack enable \ - && corepack prepare \ +RUN corepack enable yarn \ && yarn install --immutable RUN bundle exec rails assets:precompile