完善工作

This commit is contained in:
mtvpls
2025-12-02 22:17:45 +08:00
parent 73be7f6ec4
commit f4a64fd2bf
3 changed files with 36 additions and 18 deletions

View File

@@ -60,7 +60,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ghcr.io/moontechlab/lunatv
images: ghcr.io/mtvpls/moontvplus
tags: |
type=raw,value=${{ github.event.inputs.tag || 'latest' }},enable={{is_default_branch}}
@@ -72,8 +72,8 @@ jobs:
file: ./Dockerfile
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
tags: ghcr.io/moontechlab/lunatv:${{ github.event.inputs.tag || 'latest' }}
outputs: type=image,name=ghcr.io/moontechlab/lunatv,name-canonical=true,push=true
tags: ghcr.io/mtvpls/moontvplus:${{ github.event.inputs.tag || 'latest' }}
outputs: type=image,name=ghcr.io/mtvpls/moontvplus,name-canonical=true,push=true
- name: Export digest
run: |
@@ -118,8 +118,8 @@ jobs:
- name: Create manifest list and push
working-directory: /tmp/digests
run: |
docker buildx imagetools create -t ghcr.io/moontechlab/lunatv:${{ github.event.inputs.tag || 'latest' }} \
$(printf 'ghcr.io/moontechlab/lunatv@sha256:%s ' *)
docker buildx imagetools create -t ghcr.io/mtvpls/moontvplus:${{ github.event.inputs.tag || 'latest' }} \
$(printf 'ghcr.io/mtvpls/moontvplus@sha256:%s ' *)
cleanup-refresh:
runs-on: ubuntu-latest