From 3a5afeb8a6758b2cb5208142e4f82a5cc353dea3 Mon Sep 17 00:00:00 2001 From: MengYX Date: Mon, 8 Feb 2021 16:19:49 +0800 Subject: [PATCH] Fix: [CI] Build Docker Image --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19f6804..30dceae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,11 @@ jobs: cd dist zip -rJ9 ../legacy.zip * cd .. + + - name: Build Extension (on legacy) + env: + GZIP: "--best" + run: | npm run make-extension cd dist zip -rJ9 ../extension.zip * @@ -137,7 +142,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build Docker and push + - name: Build docker and push (on modern) uses: docker/build-push-action@v2 with: context: . @@ -146,4 +151,4 @@ jobs: push: true tags: | ix64/unlock-music:latest - ix64/unlock-music:${{ github.ref }} + ix64/unlock-music:${{ GITHUB_REF#refs/tags/ }}