fix(ci): publish stable image tags directly (#6436)

This commit is contained in:
InfinityPacer
2026-08-24 19:13:40 +08:00
committed by GitHub
parent 13c84d3d03
commit 7d3b5e129e
3 changed files with 14 additions and 27 deletions
+2 -17
View File
@@ -119,7 +119,7 @@ jobs:
${{ secrets.DOCKER_USERNAME }}/moviepilot-v3
ghcr.io/${{ github.repository }}-v3
tags: |
type=raw,value=beta-${{ github.run_id }}-${{ github.run_attempt }}
type=raw,value=beta
- name: Docker Meta free-threaded
id: meta_ft
@@ -129,7 +129,7 @@ jobs:
${{ secrets.DOCKER_USERNAME }}/moviepilot-v3t
ghcr.io/${{ github.repository }}-v3t
tags: |
type=raw,value=beta-${{ github.run_id }}-${{ github.run_attempt }}
type=raw,value=beta
- name: Set Up QEMU
uses: docker/setup-qemu-action@v3
@@ -338,18 +338,3 @@ jobs:
cache-from: |
type=gha,scope=moviepilot-v3t-docker-amd64,version=2
type=gha,scope=moviepilot-v3t-docker-arm64,version=2
- name: Promote beta image pair
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
run: |
candidate="beta-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
for image in \
"${DOCKER_USERNAME}/moviepilot-v3" \
"ghcr.io/${GITHUB_REPOSITORY}-v3" \
"${DOCKER_USERNAME}/moviepilot-v3t" \
"ghcr.io/${GITHUB_REPOSITORY}-v3t"; do
docker buildx imagetools create \
--tag "${image}:beta" \
"${image}:${candidate}"
done
+3 -2
View File
@@ -367,16 +367,17 @@ jobs:
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
run: |
ghcr_repository="${GITHUB_REPOSITORY,,}"
for image in \
"${DOCKER_USERNAME}/moviepilot-v3" \
"ghcr.io/${GITHUB_REPOSITORY}-v3"; do
"ghcr.io/${ghcr_repository}-v3"; do
docker buildx imagetools create \
--tag "${image}:latest" \
"${image}:${app_version}"
done
for image in \
"${DOCKER_USERNAME}/moviepilot-v3t" \
"ghcr.io/${GITHUB_REPOSITORY}-v3t"; do
"ghcr.io/${ghcr_repository}-v3t"; do
docker buildx imagetools create \
--tag "${image}:latest" \
"${image}:${app_version}"