Compare commits
6 Commits
6cff35509e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 9877594b0e | |||
| b8b94de02d | |||
| 1dcf052278 | |||
| 0546dc6f71 | |||
| 2c167288f6 | |||
| 7b2c167790 |
@@ -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:
|
||||
@@ -24,6 +24,8 @@ jobs:
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
driver-opts: image=moby/buildkit:v0.23.2
|
||||
|
||||
- name: Log in to Gitea Registry
|
||||
uses: docker/login-action@v3
|
||||
@@ -38,8 +40,7 @@ jobs:
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
type=ref,event=tag
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=sha
|
||||
@@ -52,5 +53,5 @@ jobs:
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cache
|
||||
cache-to: type=inline
|
||||
Reference in New Issue
Block a user