From 24de9451077739fef754c3630563da6f52b271eb Mon Sep 17 00:00:00 2001 From: Arham Jain Date: Thu, 24 Oct 2024 21:02:41 +0530 Subject: [PATCH] ci(docker): added dispatch trigger to docker workflow --- .github/workflows/docker.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index bf5416d..98c46b3 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -3,6 +3,12 @@ name: Create and publish a Docker image on: push: branches: ['dev'] + workflow_dispatch: + inputs: + tag: + description: 'Tag for the Docker image' + required: false + default: 'latest' # Default tag if none is provided env: REGISTRY: ghcr.io