mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-26 15:06:06 +00:00
Update build_GPU.yml
This commit is contained in:
1 parent
684507f867
commit
351030907a
1 file changed
+6
-8
@@ -17,13 +17,11 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set Calver Version
|
||||
uses: Nelyx/action-calver@v1.0.0
|
||||
id: setcalver
|
||||
with:
|
||||
default_branch: 'refs/heads/main'
|
||||
format: 'YYYY.M.D'
|
||||
version_prefix: ''
|
||||
- name: Get version from subgen.py
|
||||
id: get_version
|
||||
run: |
|
||||
version=$(grep -oP "subgen_version\s*=\s*'\K[^']+" subgen.py)
|
||||
echo "version=$version" >> $GITHUB_ENV
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
@@ -38,4 +36,4 @@ jobs:
|
||||
push: true
|
||||
tags: |
|
||||
mccloud/subgen:latest
|
||||
mccloud/subgen:${{ steps.setcalver.outputs.package_version }}
|
||||
mccloud/subgen:${{ env.version }}
|
||||
Reference in new issue
Block a user