use server url
Some checks failed
Build and Publish / build-release (push) Failing after 6m55s

This commit is contained in:
2026-04-01 10:41:44 -05:00
parent 455d61e30b
commit 2b71ccf232

View File

@@ -30,14 +30,14 @@ jobs:
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ github.server_url }}
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Tag and Push Docker Image - name: Tag and Push Docker Image
run: | run: |
VERSION=${{ github.run_number }} 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 # Auto-detect the built image name
SOURCE_IMAGE=$(docker images --format "{{.Repository}}:{{.Tag}}" | head -n 1) SOURCE_IMAGE=$(docker images --format "{{.Repository}}:{{.Tag}}" | head -n 1)