Docker image build for v2
This commit is contained in:
@@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
- "v2"
|
||||
tags:
|
||||
- "*"
|
||||
env:
|
||||
@@ -70,6 +71,8 @@ jobs:
|
||||
type=semver,pattern=latest,enable=true
|
||||
# When pushing to main branch, release as :edge
|
||||
type=edge,branch=main
|
||||
# When pushing to v2 branch, release as :v2
|
||||
type=edge,branch=v2
|
||||
- name: Build and push main docker images
|
||||
uses: docker/build-push-action@v4.0.0
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user