Fix: [CI] Build Docker Image

remotes/origin/HEAD
MengYX 4 years ago
parent 8dc1a66d69
commit 3a5afeb8a6
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

@ -30,6 +30,11 @@ jobs:
cd dist cd dist
zip -rJ9 ../legacy.zip * zip -rJ9 ../legacy.zip *
cd .. cd ..
- name: Build Extension (on legacy)
env:
GZIP: "--best"
run: |
npm run make-extension npm run make-extension
cd dist cd dist
zip -rJ9 ../extension.zip * zip -rJ9 ../extension.zip *
@ -137,7 +142,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Docker and push - name: Build docker and push (on modern)
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
@ -146,4 +151,4 @@ jobs:
push: true push: true
tags: | tags: |
ix64/unlock-music:latest ix64/unlock-music:latest
ix64/unlock-music:${{ github.ref }} ix64/unlock-music:${{ GITHUB_REF#refs/tags/ }}

Loading…
Cancel
Save