From 912b81a2e8b6cd28a6c3b69a4527ff352418f9de Mon Sep 17 00:00:00 2001 From: Antonio De Marco Date: Tue, 18 Jun 2024 13:58:39 +0200 Subject: [PATCH] Deploy image on any tag. --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ce62fed..bab26fe 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,14 +1,14 @@ name: Publish Docker image on: push: - # Docker images will be built for every main branch (0.x, 1.x, 2.x, etc.).branches-ignore: + # Docker images will be built for every main branch (0.x, 1.x, 2.x, etc.). # An image could be previewed from any branch by prefixing that branch with "preview-", for ex.: "preview-GH-123-something". branches: - '[0-9]+.x' - 'preview-.*' # Docker images will be built for tags too, for example: 0.1.0, 1.0.0-beta1, etc. tags: - - '[0-9]+.[0-9]+.[0-9](-.*)?' + - '**' # Defines two custom environment variables for the workflow. # These are used for the Container registry domain, and a name for the Docker image that this workflow builds. env: