From 7448698e4f77ab9e8e8a32ce8f690ddebf46f9e8 Mon Sep 17 00:00:00 2001 From: Acid Chicken Date: Tue, 21 May 2024 17:22:28 +0900 Subject: [PATCH] ci: fix path --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1bb5091..f27ead2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,7 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - run: | + cd hariko docker build -t "ghcr.io/misskey-dev/0key.dev:$GITHUB_REF_NAME-hariko" . docker push "ghcr.io/misskey-dev/0key.dev:$GITHUB_REF_NAME-hariko" env: @@ -36,9 +37,8 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - run: | - brew install jaq - cd misskey/misskey - jaq --in-place ".version += \"-${${"$(git -P log --color=never --pretty=format:%d.%H | head -n1)":10}/,*)/}\"" package.json + cd misskey + (brew install jaq; cd misskey; jaq --in-place ".version += \"-${${"$(git -P log --color=never --pretty=format:%d.%H | head -n1)":10}/,*)/}\"" package.json) docker build -t "ghcr.io/misskey-dev/0key.dev:$GITHUB_REF_NAME-misskey" . docker push "ghcr.io/misskey-dev/0key.dev:$GITHUB_REF_NAME-misskey" env: