Revert "Merge branch 'rfc-python-bump-312' into v2"

This reverts commit 0ec5e3b365, reversing
changes made to c18937ecc7.
This commit is contained in:
DDSRem
2024-12-28 11:56:54 +08:00
parent 0ec5e3b365
commit fca9297fa7
5 changed files with 43 additions and 15 deletions

View File

@@ -1,6 +1,11 @@
name: MoviePilot Builder v2
on:
workflow_dispatch:
push:
branches:
- v2
paths:
- 'version.py'
jobs:
Docker-build:
@@ -22,7 +27,8 @@ jobs:
with:
images: ${{ secrets.DOCKER_USERNAME }}/moviepilot-v2
tags: |
type=raw,value=beta
type=raw,value=${{ env.app_version }}
type=raw,value=latest
- name: Set Up QEMU
uses: docker/setup-qemu-action@v3
@@ -43,8 +49,27 @@ jobs:
file: Dockerfile
platforms: |
linux/amd64
linux/arm64/v8
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha, scope=${{ github.workflow }}-docker-beta
cache-to: type=gha, scope=${{ github.workflow }}-docker-beta
cache-from: type=gha, scope=${{ github.workflow }}-docker
cache-to: type=gha, scope=${{ github.workflow }}-docker
- name: Delete Release
uses: dev-drprasad/delete-tag-and-release@v1.1
with:
tag_name: ${{ env.app_version }}
delete_release: true
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate Release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ env.app_version }}
name: v${{ env.app_version }}
draft: false
prerelease: false
make_latest: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}