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