From 2717eb99156453367179503b6c240c1277d892eb Mon Sep 17 00:00:00 2001 From: damien Date: Thu, 27 Feb 2025 05:53:03 +0000 Subject: [PATCH] Update .github/workflows/release.yaml --- .github/workflows/release.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b92f7b8..9a90a3f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 \ No newline at end of file