fix
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 21s

This commit is contained in:
2026-01-25 02:09:01 +07:00
parent 2323acd607
commit b9a9f6bc49

View File

@@ -11,6 +11,7 @@ jobs:
env:
REGISTRY_HOST: https://git.home
REPOSITORY_NAME: drholy/n8n-ffmpeg-proxy
steps:
- name: Checkout code
@@ -42,7 +43,7 @@ jobs:
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY_HOST }}
username: ${{ secrets.GIT_USERNAME }}
username: ${{ gitea.actor }}
password: ${{ secrets.GIT_PASSWORD }}
- name: Build and push Docker image
@@ -50,8 +51,9 @@ jobs:
with:
context: .
push: true
tags: user/app:latest, user/app:v1.0.0
cache-from: type=registry,ref=user/app:buildcache
cache-to: type=registry,ref=user/app:buildcache,mode=max
platforms: linux/amd64
tags: ${{ REPOSITORY_NAME }}:latest, ${{ REPOSITORY_NAME }}:v1.0.0
cache-from: type=registry,ref=${{ REPOSITORY_NAME }}:buildcache
cache-to: type=registry,ref=${{ REPOSITORY_NAME }}:buildcache,mode=max
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}