From 2b71ccf2323e73b9c3a68eb8eb6c23c17ce16c68 Mon Sep 17 00:00:00 2001 From: HaimKortovich Date: Wed, 1 Apr 2026 10:41:44 -0500 Subject: [PATCH] use server url --- .gitea/workflows/build-and-publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index 246130d..510c724 100644 --- a/.gitea/workflows/build-and-publish.yaml +++ b/.gitea/workflows/build-and-publish.yaml @@ -30,14 +30,14 @@ jobs: - name: Log in to Gitea Container Registry uses: docker/login-action@v3 with: - registry: ${{ env.REGISTRY }} + registry: ${{ github.server_url }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Tag and Push Docker Image run: | VERSION=${{ github.run_number }} - TARGET_IMAGE=${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }} + TARGET_IMAGE=${{ github.server_url }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }} # Auto-detect the built image name SOURCE_IMAGE=$(docker images --format "{{.Repository}}:{{.Tag}}" | head -n 1)