cicd: fix GITEA_TOKEN
/ build (push) Failing after 41s

This commit is contained in:
Alek Kim
2026-07-13 13:00:54 +09:00
parent a537821976
commit e15b943705
+5 -5
View File
@@ -26,7 +26,7 @@ jobs:
uses: docker/metadata-action@v6
id: meta
with:
images: ${{ gitea.server_url }}/${{ gitea.repository }}
images: ${{ github.server_url }}/${{ github.repository }}
tags: |
type=ref,event=tag
type=sha,format=short
@@ -34,9 +34,9 @@ jobs:
- name: Log in to Gitea Container Registry
uses: docker/login-action@v4
with:
registry: ${{ gitea.server_url }}
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA_TOKEN }}
registry: ${{ github.server_url }}
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Build Docker image
uses: docker/build-push-action@v7
@@ -45,7 +45,7 @@ jobs:
load: true
tags: ${{ steps.meta.outputs.tags }}
build-args:
GITEA_VERSION=${{ gitea.ref_name }}
GITEA_VERSION=${{ github.ref_name }}
- name: Test Docker image
run: |