Added image tagging input to GH actions (#53)
This commit is contained in:
parent
82eb12b983
commit
ef4a5cc99f
1 changed files with 6 additions and 1 deletions
7
.github/workflows/build_and_push_docker.yml
vendored
7
.github/workflows/build_and_push_docker.yml
vendored
|
|
@ -2,6 +2,11 @@ name: Build and Push Docker Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
image_tag:
|
||||||
|
description: 'Docker Image Tag'
|
||||||
|
required: true
|
||||||
|
default: 'dev'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
|
|
@ -24,4 +29,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
file: ./selfhosted.Dockerfile
|
file: ./selfhosted.Dockerfile
|
||||||
tags: keglin/pinchflat:dev
|
tags: 'keglin/pinchflat:${{ github.event.inputs.image_tag }}'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue