Skip to content

Commit 4a070a9

Browse files
authored
feat: build docker image tagged "edge" on push to main branch (lllyasviel#3026)
* feat: build docker image on push to main branch * feat: add tag "edge" for main when building the docker image * feat: update name of build container workflow
1 parent 0e621ae commit 4a070a9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build_container.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
name: Create and publish a container image
1+
name: Docker image build
22

33
on:
44
push:
5+
branches:
6+
- main
57
tags:
6-
- 'v*'
8+
- v*
79

810
jobs:
911
build-and-push-image:
@@ -33,6 +35,7 @@ jobs:
3335
type=semver,pattern={{version}}
3436
type=semver,pattern={{major}}.{{minor}}
3537
type=semver,pattern={{major}}
38+
type=edge,branch=main
3639
3740
- name: Build and push Docker image
3841
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)