Skip to content

Commit

Permalink
Deploy image on any tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
ademarco committed Jun 18, 2024
1 parent bf5e45e commit 912b81a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 912b81a

Please sign in to comment.