Skip to content

Commit

Permalink
github docker action now includes version tags
Browse files Browse the repository at this point in the history
  • Loading branch information
aadityabhatia committed Aug 13, 2023
1 parent 65eb40f commit 04c0e55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker.yml
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- 'main'
tags:
- 'v*.*.*'

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -34,6 +36,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=ref,event=branch
type=ref,event=tag
type=ref,event=pr
Expand Down

0 comments on commit 04c0e55

Please sign in to comment.