Skip to content

Commit

Permalink
ci: update docker tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhall88 committed Nov 25, 2024
1 parent 1c8c2b9 commit fd473c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Create and publish a Docker image
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
- "lrge-[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 Expand Up @@ -39,9 +39,9 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=schedule
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=match,pattern=lrge-(\d+\.\d+\.\d+),group=1
type=semver,pattern=lrge-(\d+\.\d+)\.\d+,group=1
type=semver,pattern=lrge-(\d+)\.\d+\.\d+,group=1
type=ref,event=branch
type=ref,event=pr
# minimal (short sha)
Expand Down

0 comments on commit fd473c9

Please sign in to comment.