Skip to content

Commit d204d82

Browse files
DEV-405: Expands release action to include main branch
1 parent a02c395 commit d204d82

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Release
22

33
on:
4+
push:
5+
branches:
6+
- main
47
release:
58
types:
69
- published
@@ -51,6 +54,7 @@ jobs:
5154
with:
5255
images: ${{ env.BASE_IMAGE_NAME }}
5356
tags:
57+
type=raw,value=latest,enable={{is_default_branch}}
5458
type=semver,pattern={{major}}
5559
type=semver,pattern={{major}}.{{minor}}
5660
type=semver,pattern={{version}}
@@ -67,4 +71,4 @@ jobs:
6771
with:
6872
src: ${{ env.BUILD_IMAGE }}
6973
dst: |
70-
${{ steps.meta.outputs.tags }}
74+
${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)