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