Fix: use git metadata

This commit is contained in:
2025-04-23 09:56:51 +08:00
parent f04e176594
commit f0eebe5bdb

View File

@@ -52,6 +52,7 @@ runs:
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
- name: Setup env - name: Setup env
run: | run: |
echo "$GITHUB_REPOSITORY"
echo "GITEA_REPO=${GITHUB_REPOSITORY}" | \ echo "GITEA_REPO=${GITHUB_REPOSITORY}" | \
tr '[:upper:]' '[:lower:]' >> $GITHUB_ENV tr '[:upper:]' '[:lower:]' >> $GITHUB_ENV
- name: Setup docker qemu - name: Setup docker qemu
@@ -78,7 +79,7 @@ runs:
env: env:
NODE_OPTIONS: --use-openssl-ca NODE_OPTIONS: --use-openssl-ca
with: with:
context: workflow context: git
images: | images: |
${{ inputs.push-registry }}/${{ env.GITEA_REPO }} ${{ inputs.push-registry }}/${{ env.GITEA_REPO }}
tags: | tags: |