Fix: [CI] Build Docker Image
This commit is contained in:
parent
8dc1a66d69
commit
3a5afeb8a6
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -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…
Reference in New Issue
Block a user