fix
Some checks failed
Build and Push Docker Image / build (push) Failing after 39s
Build and Push Docker Image / build (pull_request) Failing after 49s

This commit is contained in:
2026-08-05 23:20:34 +03:00
parent e73b17673e
commit 34bfb80a8c

View File

@@ -2,10 +2,10 @@ name: Build and Push Docker Image
on: on:
push: push:
branches: [ main, master ] branches: [ "**" ]
tags: [ 'v*' ] tags: [ 'v*' ]
pull_request: pull_request:
branches: [ main, master ] branches: [ master ]
env: env:
# Docker image configuration - using your Gitea registry # Docker image configuration - using your Gitea registry
@@ -51,8 +51,8 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ secrets.REGISTRY_USERNAME }} username: ${{ gitea.repository_owner }}
password: ${{ secrets.REGISTRY_PASSWORD }} password: ${{ secrets.PACKAGES_TOKEN }}
- name: Extract Docker metadata - name: Extract Docker metadata
id: meta id: meta
@@ -74,4 +74,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-buildcache cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-buildcache
cache-to: type=inline,mode=max cache-to: type=inline,mode=max