Fix: try old method

This commit is contained in:
ytshih committed 2025-04-23 09:53:53 +08:00
1 parent d3086072e2
commit f04e176594
1 file changed
+7 -3
+7 -3
View File
@@ -50,6 +50,10 @@ runs:
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup env
run: |
echo "GITEA_REPO=${GITHUB_REPOSITORY}" | \
tr '[:upper:]' '[:lower:]' >> $GITHUB_ENV
- name: Setup docker qemu
uses: docker/[email protected]
- name: Setup Root CA
@@ -76,7 +80,7 @@ runs:
with:
context: workflow
images: |
${{ inputs.push-registry }}/${{ env.GITHUB_REPOSITORY }}
${{ inputs.push-registry }}/${{ env.GITEA_REPO }}
tags: |
type=ref,event=branch
type=ref,event=tag
@@ -95,6 +99,6 @@ runs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: |
type:registry,ref=${{ inputs.push-registry }}/${{ env.GITHUB_REPOSITORY }}/cache
type:registry,ref=${{ inputs.push-registry }}/${{ env.GITEA_REPO }}/cache
cache-to: |
type:registry,ref=${{ inputs.push-registry }}/${{ env.GITHUB_REPOSITORY }}/cache
type:registry,ref=${{ inputs.push-registry }}/${{ env.GITEA_REPO }}/cache