Fix: try old method
This commit is contained in:
10
action.yaml
10
action.yaml
@@ -50,6 +50,10 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
|
- name: Setup env
|
||||||
|
run: |
|
||||||
|
echo "GITEA_REPO=${GITHUB_REPOSITORY}" | \
|
||||||
|
tr '[:upper:]' '[:lower:]' >> $GITHUB_ENV
|
||||||
- name: Setup docker qemu
|
- name: Setup docker qemu
|
||||||
uses: docker/setup-qemu-action@v3.6.0
|
uses: docker/setup-qemu-action@v3.6.0
|
||||||
- name: Setup Root CA
|
- name: Setup Root CA
|
||||||
@@ -76,7 +80,7 @@ runs:
|
|||||||
with:
|
with:
|
||||||
context: workflow
|
context: workflow
|
||||||
images: |
|
images: |
|
||||||
${{ inputs.push-registry }}/${{ env.GITHUB_REPOSITORY }}
|
${{ inputs.push-registry }}/${{ env.GITEA_REPO }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
@@ -95,6 +99,6 @@ runs:
|
|||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: |
|
cache-from: |
|
||||||
type:registry,ref=${{ inputs.push-registry }}/${{ env.GITHUB_REPOSITORY }}/cache
|
type:registry,ref=${{ inputs.push-registry }}/${{ env.GITEA_REPO }}/cache
|
||||||
cache-to: |
|
cache-to: |
|
||||||
type:registry,ref=${{ inputs.push-registry }}/${{ env.GITHUB_REPOSITORY }}/cache
|
type:registry,ref=${{ inputs.push-registry }}/${{ env.GITEA_REPO }}/cache
|
||||||
|
|||||||
Reference in New Issue
Block a user