Update .github/workflows/release.yaml
Some checks failed
Build and Push Docker Image to Gitea Registry / build-and-push (push) Failing after 9m55s
Some checks failed
Build and Push Docker Image to Gitea Registry / build-and-push (push) Failing after 9m55s
This commit is contained in:
parent
44b4619f69
commit
2717eb9915
9
.github/workflows/release.yaml
vendored
9
.github/workflows/release.yaml
vendored
@ -2,6 +2,11 @@ name: Build and Push Docker Image to Gitea Registry
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
description: 'Docker Image Version'
|
||||||
|
required: true
|
||||||
|
default: 'latest'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
@ -45,6 +50,7 @@ jobs:
|
|||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=pr
|
type=ref,event=pr
|
||||||
type=sha
|
type=sha
|
||||||
|
${{ github.event.inputs.version }} # Add version from workflow dispatch input
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
@ -54,5 +60,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=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user