remove https
Some checks failed
Build and Push to Gitea Registry / build-and-push (push) Failing after 3m15s
Some checks failed
Build and Push to Gitea Registry / build-and-push (push) Failing after 3m15s
This commit is contained in:
@@ -8,8 +8,8 @@ on:
|
|||||||
branches: [main,master]
|
branches: [main,master]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ${{ gitea.server_url }}
|
REGISTRY: git.arnike.ru # Use only the domain, not the full URL
|
||||||
IMAGE_NAME: ${{ gitea.repository }}
|
IMAGE_NAME: arnike/n8n # Use the namespace/repository format
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ env.IMAGE_NAME }} # ← REMOVED REGISTRY URL FROM HERE
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
@@ -49,8 +49,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: |
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
${{ env.REGISTRY }}/${{ steps.meta.outputs.tags }} # ← ADD REGISTRY URL HERE INSTEAD
|
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
Reference in New Issue
Block a user