Added image tagging input to GH actions (#53)

This commit is contained in:
Kieran 2024-03-04 13:37:15 -08:00 committed by GitHub
parent 254054c0c1
commit 39caf4a94f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,11 @@ name: Build and Push Docker Image
on:
workflow_dispatch:
inputs:
image_tag:
description: 'Docker Image Tag'
required: true
default: 'dev'
jobs:
docker:
@ -24,4 +29,4 @@ jobs:
with:
push: true
file: ./selfhosted.Dockerfile
tags: keglin/pinchflat:dev
tags: 'keglin/pinchflat:${{ github.event.inputs.image_tag }}'