chore: update Gitea CI/CD workflow to use new variable syntax for Docker registry and metadata
Some checks failed
Build and Push Docker Image / build (push) Failing after 4m3s

This commit is contained in:
typist
2025-10-27 20:33:06 +08:00
parent d5959ca3c3
commit b5b9d94119

View File

@@ -19,16 +19,16 @@ jobs:
- name: 登录到 Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.GITEA_INSTANCE_URL }}
username: ${{ env.GITEA_ACTOR }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ${{ gitea.server_url }}
username: ${{ gitea.actor }}
password: ${{ gitea.token }}
- name: 提取 Docker 元数据
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ env.GITEA_INSTANCE_URL }}/${{ env.GITEA_REPOSITORY_OWNER }}/litek
${{ gitea.server_url }}/${{ gitea.repository_owner }}/litek
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}