Fix GitHub action

This commit is contained in:
EstrellaXD
2023-03-15 11:01:59 +08:00
parent 25628d18a5
commit 99bc017a4d
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ jobs:
- name: Create Version info
working-directory: ./src
run: |
echo "VERSION = '2.6.0-beta'" > module/__version__.py
echo "VERSION = '$GITHUB_REF_NAME'" > module/__version__.py
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
@@ -36,5 +36,5 @@ jobs:
tags: |
estrellaxd/auto_bangumi:dev-latest
estrellaxd/auto_bangumi:dev-${{ github.sha }}
estrellaxd/auto_bangumi:${{ github.ref }}
estrellaxd/auto_bangumi:${{ github.ref_name }}
file: Dockerfile

View File

@@ -42,5 +42,5 @@ jobs:
tags: |
estrellaxd/auto_bangumi:latest
estrellaxd/auto_bangumi:${{ github.sha }}
estrellaxd/auto_bangumi:${{ github.ref }}
estrellaxd/auto_bangumi:${{ github.ref_name }}
labels: ${{ steps.meta.outputs.labels }}