Update .github/workflows/release.yaml
Some checks failed
Build and Push Docker Image to Gitea Registry / build-and-push (push) Failing after 9m55s

This commit is contained in:
damien 2025-02-27 05:53:03 +00:00
parent 44b4619f69
commit 2717eb9915

View File

@ -2,6 +2,11 @@ name: Build and Push Docker Image to Gitea Registry
on:
workflow_dispatch:
inputs:
version:
description: 'Docker Image Version'
required: true
default: 'latest'
jobs:
build-and-push:
@ -45,6 +50,7 @@ jobs:
type=ref,event=branch
type=ref,event=pr
type=sha
${{ github.event.inputs.version }} # Add version from workflow dispatch input
- name: Build and push Docker image
uses: docker/build-push-action@v4
@ -54,5 +60,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max