remove https
Some checks failed
Build and Push to Gitea Registry / build-and-push (push) Failing after 3m15s

This commit is contained in:
2025-09-08 14:58:31 +03:00
parent 0546dc6f71
commit 1dcf052278

View File

@@ -8,8 +8,8 @@ on:
branches: [main,master]
env:
REGISTRY: ${{ gitea.server_url }}
IMAGE_NAME: ${{ gitea.repository }}
REGISTRY: git.arnike.ru # Use only the domain, not the full URL
IMAGE_NAME: arnike/n8n # Use the namespace/repository format
jobs:
build-and-push:
@@ -36,7 +36,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.IMAGE_NAME }} # ← REMOVED REGISTRY URL FROM HERE
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=tag
type=semver,pattern={{version}}
@@ -49,8 +49,7 @@ jobs:
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: |
${{ env.REGISTRY }}/${{ steps.meta.outputs.tags }} # ← ADD REGISTRY URL HERE INSTEAD
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max